Skip to content

Commit c106e8d

Browse files
authored
[Support] Remove unneeded __has_include fallback
This is a C++17 feature implemented in all supported compilers. Pull Request: #104898
1 parent 8f44fee commit c106e8d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/include/llvm/Support/Compiler.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
# define __has_builtin(x) 0
4040
#endif
4141

42-
#ifndef __has_include
43-
# define __has_include(x) 0
44-
#endif
45-
4642
// Only use __has_cpp_attribute in C++ mode. GCC defines __has_cpp_attribute in
4743
// C mode, but the :: in __has_cpp_attribute(scoped::attribute) is invalid.
4844
#ifndef LLVM_HAS_CPP_ATTRIBUTE

0 commit comments

Comments
 (0)