We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3fdd9b commit 4862fe5Copy full SHA for 4862fe5
absl/strings/internal/str_format/checker.h
@@ -22,9 +22,15 @@
22
// Compile time check support for entry points.
23
24
#ifndef ABSL_INTERNAL_ENABLE_FORMAT_CHECKER
25
-#if ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__)
+
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__)
31
#define ABSL_INTERNAL_ENABLE_FORMAT_CHECKER 1
-#endif // ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__)
32
+#endif // ABSL_HAVE_ATTRIBUTE(enable_if) && !defined(__native_client__) &&
33
+ // !defined(__INTELLISENSE__)
34
#endif // ABSL_INTERNAL_ENABLE_FORMAT_CHECKER
35
36
namespace absl {
0 commit comments