llvm-project/clang/lib
Hal Finkel fec8345108 Adjust type-trait evaluation to properly handle Using(Shadow)Decls
Since r274049, for an inheriting constructor declaration, the name of the using
declaration (and using shadow declaration comes from the using declaration) is
the name of a derived class, not the base class (line 8225-8232 of
lib/Sema/SemaDeclCXX.cpp in https://reviews.llvm.org/rL274049). Because of
this, name-based lookup performed inside Sema::LookupConstructors returns not
only CXXConstructorDecls but also Using(Shadow)Decls, which results assertion
failure reported in PR29087.

Patch by Taewook Oh, thanks!

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

llvm-svn: 287999
2016-11-27 16:26:14 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST [ASTDumper] Add some more character escapes for convenience. 2016-11-24 09:41:33 +00:00
ASTMatchers [AST] Convert Marshallers to use unique_ptr. 2016-10-10 16:26:40 +00:00
Analysis [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue 2016-11-01 00:19:04 +00:00
Basic Add a little endian variant of TCE. 2016-11-16 15:22:31 +00:00
CodeGen [CodeGen] Pass objects that are expensive to copy by const ref. 2016-11-24 16:01:20 +00:00
Driver darwin: Unconditionally pass -lto_library, remove -Wliblto warning. 2016-11-22 19:38:07 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format [Format] Avoid copying std::sets and simplify code a bit. 2016-11-24 15:42:29 +00:00
Frontend [Frontend] Add a predefined macro that describes the Objective-C bool type 2016-11-21 11:05:15 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [DOXYGEN] Updated instruction names corresponding to avxintrin.h intrinsics. 2016-11-26 19:38:19 +00:00
Index [index] Rename SymbolSubKind -> SymbolProperty, NFC. 2016-11-11 23:49:55 +00:00
Lex [Modules] Replace arrays with init lists. 2016-11-15 18:56:39 +00:00
Parse Fixes for r287241. Use placement new. Apply clang-format. 2016-11-17 21:00:09 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema Adjust type-trait evaluation to properly handle Using(Shadow)Decls 2016-11-27 16:26:14 +00:00
Serialization [OpenCL] Introduce ReadPipeType and WritePipeType. 2016-11-18 14:10:54 +00:00
StaticAnalyzer [analyzer] Fix a crash on accessing a field within a literal-initialized union. 2016-11-22 04:29:23 +00:00
Tooling Typo. 2016-11-25 20:15:57 +00:00
CMakeLists.txt