clang/test
Ted Kremenek 7a02a3733c Per advice that Doug Gregor gave me several months ago, clean up the
implementation of '#pragma unused' by not constructing intermediate
DeclRefExprs, but instead do the name lookup directly.  The
implementation is greatly simplified.

Along the way, degrade '#pragma unused(undeclaredvariable)' to a
warning instead of being a hard error.  This implements:

<rdar://problem/6761874> [sema] allow #pragma unused to reference undefined variable (with warning)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78019 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-03 23:24:57 +00:00
..
Analysis Add a pass-by-value test for the analyzer. 2009-08-03 23:22:53 +00:00
CXX Make the recanonicalization-for-an-out-of-line-definition test case a bit trickier 2009-07-31 18:36:42 +00:00
CodeGen Make sure UTF-16 strings end with a 16-bit null (as opposed to 8-bit). 2009-08-03 21:47:08 +00:00
CodeGenCXX ir-gen for destructor calls. 2009-08-03 20:20:07 +00:00
CodeGenObjC MultiTestRunner: Validate '&&' at the end of RUN lines. 2009-07-25 11:27:37 +00:00
Coverage Introduce a new concept to the static analyzer: SValuator. 2009-06-26 00:05:51 +00:00
Driver Driver/OpenBSD: Improve ld options. 2009-08-03 01:28:59 +00:00
FixIt Update test case; I'm confused why this wasn't failing on the buildbot 2009-05-16 19:30:01 +00:00
Frontend MultiTestRunner: Validate '&&' at the end of RUN lines. 2009-07-25 11:27:37 +00:00
Index For a CXXOperatorCallExpr, fix the order that StmtLocResolver uses to check subexpressions. 2009-07-31 19:02:11 +00:00
Lexer MultiTestRunner: Validate '&&' at the end of RUN lines. 2009-07-25 11:27:37 +00:00
Misc Fix for PR2386: distinguish between insertion and replacements in the 2009-05-18 13:56:52 +00:00
PCH Use %S, not `pwd`, and enable a line that *does* work. 2009-08-01 05:57:38 +00:00
Parser Ok, ok, I give in. Fix tests for unused result warning. 2009-08-01 06:07:15 +00:00
Preprocessor MultiTestRunner: Validate '&&' at the end of RUN lines. 2009-07-25 11:27:37 +00:00
Rewriter Prep for new warning. 2009-07-22 00:43:08 +00:00
Sema Per advice that Doug Gregor gave me several months ago, clean up the 2009-08-03 23:24:57 +00:00
SemaCXX Ok, ok, I give in. Fix tests for unused result warning. 2009-08-01 06:07:15 +00:00
SemaObjC Remove an ObjC-specific XFAIL (and tweak test). 2009-07-29 15:24:47 +00:00
SemaObjCXX this test crashes, disable it harder. 2009-07-28 18:22:50 +00:00
SemaTemplate Keep track of the template arguments deduced when matching a class 2009-08-02 23:24:31 +00:00
CMakeLists.txt MultiTestRunner: Simplify, cleanup, and rename! 2009-07-31 05:54:17 +00:00
Makefile MultiTestRunner: Simplify, cleanup, and rename! 2009-07-31 05:54:17 +00:00
TestRunner.sh Having tests that depend on previously created files is bad idea. Fix them to be self-sufficient. 2009-07-06 00:03:47 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg Add missing test suffixes. 2009-07-31 05:57:11 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00