llvm-project/clang/lib
George Burgess IV aea6ade63a Make incomplete type errors better with enable_if
This patch fixes the order in which we evaluate the different ways that
a function call could be disallowed. Now, if you call a non-overloaded
function with an incomplete type and failing enable_if, we'll prioritize
reporting the more obvious error (use of incomplete type) over reporting
the failing enable_if.

Thanks to Ettore Speziale for the patch!

llvm-svn: 248595
2015-09-25 17:53:16 +00:00
..
ARCMigrate Fix a small bug in clang where generating some temporary files would have an extra period before the extension. 2015-09-09 16:48:47 +00:00
AST [OPENMP 4.1] Add 'threads' clause for '#pragma omp ordered'. 2015-09-25 10:37:12 +00:00
ASTMatchers Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects. 2015-09-17 13:30:52 +00:00
Analysis [analyzer] Create one state for a range switch case instead of multiple. 2015-09-22 20:31:19 +00:00
Basic [OPENMP 4.1] Add 'threads' clause for '#pragma omp ordered'. 2015-09-25 10:37:12 +00:00
CodeGen [OPENMP 4.1] Add 'threads' clause for '#pragma omp ordered'. 2015-09-25 10:37:12 +00:00
Driver The Clang gcc-compatible driver (clang/tools/driver/driver.cpp) has some 2015-09-25 17:44:31 +00:00
Edit [Edit] Fix issue with tracking what macro argument inputs have been edited. 2015-09-11 20:09:11 +00:00
Format clang-format: Add initial #include sorting capabilities. 2015-09-23 08:30:47 +00:00
Frontend Revert "This patch adds missing pieces to clang, including the PS4 toolchain definition, added warnings, PS4 defaults, and Driver changes needed for our compiler." 2015-09-25 16:11:00 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers ms Intrin.h: Fix __movsw's and __stosw's inline asm. 2015-09-22 00:46:21 +00:00
Index [OpenCL] Add new types for OpenCL 2.0. 2015-09-15 11:18:52 +00:00
Lex [Lex] A source-file new-line in a raw string literal results in a new-line 2015-09-23 16:04:47 +00:00
Parse [OPENMP 4.1] Add 'threads' clause for '#pragma omp ordered'. 2015-09-25 10:37:12 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema Make incomplete type errors better with enable_if 2015-09-25 17:53:16 +00:00
Serialization [OPENMP 4.1] Add 'threads' clause for '#pragma omp ordered'. 2015-09-25 10:37:12 +00:00
StaticAnalyzer [analyzer] When memcpy'ing into a fixed-size array, do not invalidate entire region. 2015-09-24 16:52:56 +00:00
Tooling Fix bad iterator access. 2015-09-23 12:47:50 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00