llvm-project/clang/test
Olivier Goffart 63a2083be9 Fix spurious warnings about unused private field
If the address of a field is taken as a pointer to member, we should
not warn that the field is not used.

Normaly, yse of fields are done from MemberExpr, but in case of pointer to
member, it is in a DeclRefExpr

Differential Revision: http://reviews.llvm.org/D20054

llvm-svn: 268895
2016-05-09 07:09:51 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge [ASTImporter] Implement missing VisitAccessSpecDecl function in ASTImporter class. 2016-02-18 23:08:36 +00:00
Analysis [analyzer] Add tests for Objective-C class properties 2016-05-06 18:24:50 +00:00
CXX Add forgotten test from r268594. 2016-05-05 19:16:58 +00:00
CodeCompletion Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
CodeGen [Hexagon] Add a testcase for __builtin_HEXAGON_A2_tfrpi 2016-05-05 15:55:54 +00:00
CodeGenCUDA [CUDA] Make sure device-side __global__ functions are always visible. 2016-05-02 20:30:03 +00:00
CodeGenCXX Revert r268727, it caused PR27666. 2016-05-06 14:34:29 +00:00
CodeGenObjC [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
CodeGenObjCXX [CodeGenObjCXX] Fix handling of blocks in lambda. 2016-05-04 18:40:33 +00:00
CodeGenOpenCL Revert "AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels." 2016-05-06 15:00:51 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping [Coverage] Fix an issue where a coverage region might not be created for a macro containing a loop statement. 2016-05-04 15:38:26 +00:00
Driver Teach header search about GCC 4.9 header search paths in Gentoo, they 2016-05-08 07:59:56 +00:00
FixIt Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
Headers [modules] Don't expose *intrin.h headers that cannot be included standalone as 2016-04-16 00:46:26 +00:00
Index [libclang] Expose the ElaboratedType 2016-05-03 06:58:29 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer [esan] EfficiencySanitizer driver flags 2016-04-21 21:32:04 +00:00
Misc [OpenCL] Fix pipe type dump. 2016-05-03 05:37:07 +00:00
Modules [CrashReproducer] Always use realpath for destination 2016-05-06 23:58:58 +00:00
OpenMP [OpenMP] Check for associated statements with hasAssociatedStmt() when scanning for device code. 2016-05-08 06:43:56 +00:00
PCH Module debugging: Fix the DWO filename for PCH in a relative path. 2016-04-27 17:06:22 +00:00
Parser Expose cxx constructor and method properties through libclang and python bindings. 2016-04-27 12:48:25 +00:00
Preprocessor Fix sysroot-prefix.c on Windows (/ vs \). 2016-05-06 21:17:32 +00:00
Profile [profile] Fix another use of the driver. 2016-04-23 02:13:48 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema Availability: set location when creating attribute for tvos, watchos. 2016-05-06 21:04:01 +00:00
SemaCUDA [CUDA] Make unattributed constexpr functions implicitly host+device. 2016-03-30 23:30:21 +00:00
SemaCXX Fix spurious warnings about unused private field 2016-05-09 07:09:51 +00:00
SemaObjC ObjC kindof: set the type of a conditional expression when involving kindof. 2016-05-06 19:35:02 +00:00
SemaObjCXX [ObjC] Enter a new evaluation context before calling 2016-05-04 18:07:20 +00:00
SemaOpenCL [OpenCL] Fix pipe type dump. 2016-05-03 05:37:07 +00:00
SemaTemplate Warn if function or variable cannot be implicitly instantiated 2016-04-19 06:19:52 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt Moving clang-test-depends into the Clang tests folder and moving vtables_blacklist into the Misc folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:17 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
make_test_dirs.pl