File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
absl/strings/internal/str_format Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
22
// Compile time check support for entry points.
23
23
24
24
#ifndef ABSL_INTERNAL_ENABLE_FORMAT_CHECKER
25
- #if ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__)
25
+
26
+ // We disable format checker under vscode intellisense compilation.
27
+ // See https://github.com/microsoft/vscode-cpptools/issues/3683 for
28
+ // more details.
29
+ #if ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__) && \
30
+ !defined(__INTELLISENSE__)
26
31
#define ABSL_INTERNAL_ENABLE_FORMAT_CHECKER 1
27
- #endif // ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__)
32
+ #endif // ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__) &&
33
+ // !defined(__INTELLISENSE__)
28
34
#endif // ABSL_INTERNAL_ENABLE_FORMAT_CHECKER
29
35
30
36
namespace absl {
You can’t perform that action at this time.
0 commit comments