llvm-project/clang/test
David Majnemer f2d3bc0474 Lex: Don't let annotation tokens get into macro expansion
We'd let annotation tokens from '#pragma pack' and the like get inside a
function-like macro.  This would lead to terror and mayhem; stop the
madness early.

This fixes PR22037.

llvm-svn: 224896
2014-12-28 07:42:49 +00:00
..
ARCMT Objective-C SDK modernizer. When modernizing an enum to 2014-12-10 18:25:24 +00:00
ASTMerge
Analysis [CallGraph] Make sure the edges are not missed due to re-declarations 2014-12-17 00:34:07 +00:00
CXX Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
CodeCompletion
CodeGen [x86] Add the (v)cmpps/pd/ss/sd builtins to match gcc. Use them in the sse intrinsic files. 2014-12-27 06:59:57 +00:00
CodeGenCUDA IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenCXX Debug Info: Pass the pointer size into createMemberPointerType(). 2014-12-23 19:11:54 +00:00
CodeGenObjC IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenObjCXX Have the driver and the target code agree on what the default ABI 2014-12-05 01:06:59 +00:00
CodeGenOpenCL Fix an address space id reset with array decay's 2014-12-19 18:04:27 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping InstrProf: Don't emit coverage for uninstantiated templates 2014-11-18 00:34:46 +00:00
Driver clang-cl: Various changes to /Zc: handling. 2014-12-23 22:55:34 +00:00
FixIt PR21969: Improve diagnostics for a conversion function that has any pieces of a 2014-12-19 02:07:47 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
Headers Add more feature flags to the x86 instrinsic test. 2014-12-27 06:59:44 +00:00
Index Teach compile_commands.json test that windows-gnu is the new name for mingw32. 2014-12-17 11:04:07 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout Test case B: fixed check rule 2014-10-21 08:16:42 +00:00
Lexer Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
Misc This reverts commit r224668 and r224667. 2014-12-23 15:57:12 +00:00
Modules Remove unused test input. 2014-12-23 19:30:13 +00:00
OpenMP [OPENMP] Bugfix for processing of global variables in OpenMP regions. 2014-12-16 07:00:22 +00:00
PCH Do not warn on keyword undef 2014-12-12 06:37:55 +00:00
Parser Parse: Don't parse after the eof has been consumed 2014-12-18 09:57:31 +00:00
Preprocessor Lex: Don't let annotation tokens get into macro expansion 2014-12-28 07:42:49 +00:00
Profile IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
Rewriter Objective-C modern rewriter. Patch to fix a rewriting bug 2014-10-28 23:46:58 +00:00
Sema [x86] Add range checking to the constant argument of cmpps/pd/ss/sd builtinas. 2014-12-27 07:00:08 +00:00
SemaCUDA Consider calls from implict host device functions as valid in SemaCUDA. 2014-12-16 20:12:38 +00:00
SemaCXX Rename test.cc files to test.cpp. 2014-12-22 18:13:07 +00:00
SemaObjC Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
SemaObjCXX Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
SemaOpenCL Workaround attribute ordering issue with kernel only attributes 2014-12-05 18:03:58 +00:00
SemaTemplate Don't drop attributes when checking explicit specializations. 2014-12-19 23:52:45 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Teach lit.cfg to recognize -windows-gnu in addition to -mingw32. 2014-12-17 09:55:15 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl