llvm-project/clang/test
Devin Coughlin dc9834f912 [analyzer] Treat pointers to static member functions as function pointers
Sema treats pointers to static member functions as having function pointer
type, so treat treat them as function pointer values in the analyzer as well.
This prevents an assertion failure in SValBuilder::evalBinOp caused by code
that expects function pointers to be Locs (in contrast, PointerToMember values
are nonlocs).

Differential Revision: https://reviews.llvm.org/D28033

llvm-svn: 291581
2017-01-10 18:49:27 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge Fixed layout of test/ASTMerge. 2016-11-16 18:21:00 +00:00
Analysis [analyzer] Treat pointers to static member functions as function pointers 2017-01-10 18:49:27 +00:00
CXX Allow constexpr construction of subobjects unconditionally, not just in C++14. 2017-01-09 21:38:07 +00:00
CodeCompletion Fix heuristics skipping invalid ctor-initializers with C++11 2016-11-03 07:36:17 +00:00
CodeGen [AArch64] Use generic bitreverse intrinsic, rather than AArch64 specific. 2017-01-10 17:20:28 +00:00
CodeGenCUDA [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
CodeGenCXX CGDecl: Skip static variable initializers in unreachable code 2017-01-10 17:43:01 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
CodeGenObjCXX Add -f[no-]strict-return flag that can be used to avoid undefined behaviour 2017-01-04 13:40:34 +00:00
CodeGenOpenCL [OpenCL] Align fake address space map with the SPIR target maps. 2016-12-23 16:11:25 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver [X86] Add recent CPU strings to some of the tests that check other cpu names. 2017-01-10 06:02:16 +00:00
FixIt Make some diagnostic tests C++11 clean. 2016-12-21 18:33:17 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend [X86] Add recent CPU strings to some of the tests that check other cpu names. 2017-01-10 06:02:16 +00:00
Headers Revert "[Headers] Add #include_next for tgmath.h on Darwin" 2016-12-12 23:06:58 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index Check that template template arguments match template template parameters 2017-01-09 23:54:33 +00:00
Integration
Layout
Lexer Add __cpp_structured_bindings feature test macro for structured bindings, per 2016-12-19 04:21:36 +00:00
Misc Implement C++ DR1391 (wg21.link/cwg1391) 2017-01-09 08:01:21 +00:00
Modules Check that template template arguments match template template parameters 2017-01-09 23:54:33 +00:00
OpenMP [OpenMP] Sema and parsing for 'target teams distribute simd’ pragma 2017-01-10 18:08:18 +00:00
PCH Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
Parser Make some diagnostic tests C++11 clean. 2016-12-21 18:33:17 +00:00
Preprocessor AMD family 17h (znver1) enablement 2017-01-10 06:02:12 +00:00
Profile Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'. 2016-12-23 00:23:01 +00:00
Rewriter Specify -std=gnu++98 on some Rewriter tests. NFC. 2016-12-09 01:20:40 +00:00
Sema [Frontend] Correct values of ATOMIC_*_LOCK_FREE to match builtin 2017-01-09 20:54:20 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented 2017-01-10 14:41:13 +00:00
SemaObjC [ObjC] The declarator for a block literal should be a definition 2017-01-06 11:31:12 +00:00
SemaObjCXX Add fix-it notes to the nullability consistency warning. 2016-12-19 20:58:20 +00:00
SemaOpenCL [OpenCL] Re-enable supported core extensions based on opencl version when disabling all extensions using pragma 2017-01-06 16:14:41 +00:00
SemaTemplate Check that template template arguments match template template parameters 2017-01-09 23:54:33 +00:00
TableGen
Tooling
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Correctly include build llvm_shlib_dir in stand-alone builds 2016-11-15 12:54:10 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl