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 2222// Compile time check support for entry points.
2323
2424#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__)
2631#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__)
2834#endif // ABSL_INTERNAL_ENABLE_FORMAT_CHECKER
2935
3036namespace absl {
You can’t perform that action at this time.
0 commit comments