llvm-project/clang/test
Aaron Ballman 2edb89c746 Lex arguments for __has_cpp_attribute and friends as expanded tokens
The C and C++ standards require the argument to __has_cpp_attribute and
__has_c_attribute to be expanded ([cpp.cond]p5). It would make little sense
to expand the argument to those operators but not expand the argument to
__has_attribute and __has_declspec, so those were both also changed in this
patch.

Note that it might make sense for the other builtins to also expand their
argument, but it wasn't as clear to me whether the behavior would be correct
there, and so they were left for a future revision.
2021-10-17 07:54:48 -04:00
..
APINotes
ARCMT Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
AST [AIX] Enable int128 in 64 bit mode 2021-10-15 16:23:04 +00:00
ASTMerge Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
Analysis [AIX] Enable int128 in 64 bit mode 2021-10-15 16:23:04 +00:00
CXX [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
ClangScanDeps [clang][modules] Cache loads of modules imported by PCH 2021-10-13 18:09:52 +02:00
CodeCompletion Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
CodeGen Fix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvc 2021-10-16 16:20:14 +09:00
CodeGenCUDA [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenCXX Fix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvc 2021-10-16 16:20:14 +09:00
CodeGenCoroutines [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenHIP
CodeGenObjC [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenObjCXX [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenOpenCL [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenOpenCLCXX [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
CodeGenSYCL [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
Coverage
CoverageMapping Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Driver [RISCV] Unify the arch string parsing logic to to RISCVISAInfo. 2021-10-17 16:25:23 +08:00
FixIt Implement P1949 2021-08-18 07:33:14 -04:00
Format
Frontend [inliner] Mandatory inlining decisions produce remarks 2021-10-05 14:01:25 -07:00
Headers [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
Import Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
Index Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
Integration
InterfaceStubs [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
Interpreter Reland "[clang-repl] Allow loading of plugins in clang-repl." 2021-10-05 13:04:01 +00:00
Layout Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
Lexer Implement #pragma clang final extension 2021-09-27 14:11:16 -05:00
LibClang libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
Misc [AArch64] Fix failing test target-invalid-cpu-note.c 2021-10-15 16:10:46 +01:00
Modules Resolve lit failures in clang after 8ca4b3e's land 2021-10-16 13:51:50 +09:00
OpenMP [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
PCH [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
Parser Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
ParserSYCL
Preprocessor Lex arguments for __has_cpp_attribute and friends as expanded tokens 2021-10-17 07:54:48 -04:00
Profile Resolve lit failures in clang after 8ca4b3e's land 2021-10-16 13:51:50 +09:00
Refactor
Rewriter
Sema [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
SemaCUDA [HIP] Relax conditions for address space cast in builtin args 2021-10-15 15:35:52 -06:00
SemaCXX [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
SemaObjC [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
SemaObjCXX Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
SemaOpenCL Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
SemaOpenCLCXX Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
SemaSYCL Reland [clang] Check unsupported types in expressions 2021-10-15 13:55:36 +03:00
SemaTemplate Revert "Compress formatting of array type names (int [4] -> int[4])" 2021-10-14 14:49:25 -07:00
TableGen
Templight
Tooling [clang][tooling] Accept Clang invocations with multiple jobs 2021-07-27 10:47:55 +02:00
Unit
VFS [Modules] Do not remove failed modules after the control block phase 2021-08-17 16:46:51 -07:00
clang-rename
utils/update_cc_test_checks [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default (2) 2021-10-16 12:01:41 +09:00
.clang-format
CMakeLists.txt Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-10-08 17:43:23 -07:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-10-08 17:43:23 -07:00
lit.site.cfg.py.in libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
make_test_dirs.pl