llvm-project/clang/test
David Blaikie a1556556d6 DebugInfo: PR19298: function local const variables duplicated in the root scope
See the comment for CodeGenFunction::tryEmitAsConstant that describes
how in some contexts (lambdas) we must not emit references to the
variable, but instead use the constant directly - because of this we end
up emitting a constant for the variable, as well as emitting the
variable itself.

Should we just skip putting the variable on the stack at all and omit
the debug info for the constant? It's not clear to me - what if the
address of the local is taken?

llvm-svn: 205651
2014-04-04 20:56:17 +00:00
..
ARCMT Fix "regression" caused by updating our notion of POD to better match the C++11 2014-01-11 00:53:35 +00:00
ASTMerge Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +00:00
Analysis Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +00:00
CXX If a using-declaration names a class member, but appears outside a class, try 2014-04-02 21:44:35 +00:00
CodeCompletion When completing Objective-C instance method invocations, perform a contextual conversion to an Objective-C pointer type of the target expression if needed. This fixes code completion of method invocations where the target is a smart pointer that has an explicit conversion operator to an Objective-C type. 2014-02-28 19:07:22 +00:00
CodeGen CodeGen: Emit some functions as weak_odr under -fms-compatibility 2014-04-02 23:17:29 +00:00
CodeGenCUDA Proper handling of static local variables with address space qualifiers. 2014-03-24 22:05:38 +00:00
CodeGenCXX DebugInfo: PR19298: function local const variables duplicated in the root scope 2014-04-04 20:56:17 +00:00
CodeGenObjC Objective-C [IRGen]. Add encoding for 'weak' attribute of a 2014-04-02 22:49:42 +00:00
CodeGenObjCXX Objective-C++ IRGen. Due to change to AST for initialization of c++11’s 2014-03-14 15:40:54 +00:00
CodeGenOpenCL When printing types for the OpenCL kernel metadata, use the PrintingPolicy. 2014-04-04 13:43:57 +00:00
Coverage Skip this test when using lit integrated shell 2013-10-25 22:30:07 +00:00
Driver Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +00:00
FixIt Normalize line endings 2014-03-02 18:46:05 +00:00
Format clang-format: Explicitly set fallback style that is tested. 2013-12-03 06:48:41 +00:00
Frontend Move the -i[no-]system-prefix options from CC1Options.td to Options.td. 2014-03-26 01:39:59 +00:00
Headers MS intrinsics: don't declare __readeflags and __writeeflags in Intrin.h 2014-03-12 21:09:03 +00:00
Index libclang/libIndex: USR generation: mangle source location into USRs for macros, 2014-03-28 22:21:26 +00:00
Layout Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +00:00
Lexer Added a __has_feature() for 'is_constructible' 2014-03-18 14:13:10 +00:00
Misc Put macro redefinition warnings under -Wmacro-redefined 2014-04-04 00:17:16 +00:00
Modules Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +00:00
OpenMP Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +00:00
PCH Updating the capability attribute diagnostics to be more capability-neutral. Instead of using terminology such as "lock", "unlock" and "locked", the new terminology is "acquire", "release" and "held". Additionally, the capability attribute's name argument is now reported as part of the diagnostic, instead of hard coding as "mutex." 2014-04-01 21:43:23 +00:00
Parser Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +00:00
Preprocessor Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +00:00
Profile CodeGen: Don't create branch weight metadata from empty profiles 2014-04-04 02:48:51 +00:00
Rewriter Reorganize and improve semantic tests for dllexport/import 2014-02-22 19:47:30 +00:00
Sema Vector [Sema]. Vector "splats" which are truncated should have a warning 2014-04-04 19:33:39 +00:00
SemaCUDA Updated the wording of two attribute-related diagnostics so that they print the offending attribute name. Also updates the associated test cases. 2014-01-02 21:26:14 +00:00
SemaCXX Extend -Wtautological-constant-out-of-range-compare to handle boolean values 2014-04-04 04:13:47 +00:00
SemaObjC Implement the 'optnone' attribute, which suppresses most optimizations 2014-03-31 22:29:15 +00:00
SemaObjCXX Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
SemaOpenCL Enforce the restriction that a parameter to a kernel function 2014-03-27 16:34:11 +00:00
SemaTemplate Sema: Implement DR317 2014-03-30 06:44:54 +00:00
TableGen
Tooling Adding a win32-targeted test into Tooling/multi-jobs.cpp, to make sure it doesn't get broken again 2013-12-18 18:55:36 +00:00
Unit libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00
VFS Add a test where the module map is overriden in the vfs 2014-04-04 16:42:53 +00:00
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-08 06:45:35 +00:00
CMakeLists.txt [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR. 2014-01-19 13:00:01 +00:00
Makefile Reverting because reverting r200145. 2014-01-27 22:57:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Recommit r204493 with a fix to look in both clang and llvm directories. 2014-03-26 16:40:43 +00:00
lit.site.cfg.in test: Fix feature test for "native" in lit.cfg 2014-03-11 04:34:17 +00:00
make_test_dirs.pl