We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2772b94 + 4a44e00 commit 82169e8Copy full SHA for 82169e8
llvm/include/llvm/Support/Compiler.h
@@ -39,6 +39,10 @@
39
# define __has_builtin(x) 0
40
#endif
41
42
+#ifndef __has_warning
43
+# define __has_warning(x) 0
44
+#endif
45
+
46
// Only use __has_cpp_attribute in C++ mode. GCC defines __has_cpp_attribute in
47
// C mode, but the :: in __has_cpp_attribute(scoped::attribute) is invalid.
48
#ifndef LLVM_HAS_CPP_ATTRIBUTE
0 commit comments