llvm-project/clang/lib/Sema
George Burgess IV cc2f355f71 [Sema] Make type deduction work with some overloadable functions
Some functions can't have their address taken. If we encounter an
overload set where only one of the candidates can have its address
taken, we should automatically select that candidate's type in type
deduction.

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

llvm-svn: 263888
2016-03-19 21:51:45 +00:00
..
AnalysisBasedWarnings.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
AttributeList.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
CMakeLists.txt [coroutines] Initial stub Sema functionality for handling coroutine await / yield / return. 2015-10-22 06:13:50 +00:00
CodeCompleteConsumer.cpp Silence some MSVC false positive warnings about integer zexts and falling off the end of a covered switch 2016-02-10 19:09:15 +00:00
DeclSpec.cpp Move LocInfoType from Sema to AST. 2016-02-01 17:42:01 +00:00
DelayedDiagnostic.cpp Addressing review comments for r261163. 2016-02-22 04:47:24 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp Some minor ARC diagnostic improvements. 2015-10-21 18:06:38 +00:00
MultiplexExternalSemaSource.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
Scope.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
ScopeInfo.cpp [Objective-c] Fix a crash in WeakObjectProfileTy::getBaseInfo. 2016-03-18 19:03:50 +00:00
Sema.cpp Fix predefine for __NSConstantString struct type 2016-02-04 00:55:24 +00:00
SemaAccess.cpp Fix crash in access check for aggregate initialization of base classes. It's 2016-03-08 23:17:35 +00:00
SemaAttr.cpp Implement support for [[maybe_unused]] in C++1z that is based off existing support for unused, and treat it as an extension pre-C++1z. This also means extending the existing unused attribute so that it can be placed on an enum and enumerator, in addition to the other subjects. 2016-03-09 16:48:08 +00:00
SemaCUDA.cpp [CUDA] Tweak attribute-based overload resolution to match nvcc behavior. 2016-02-12 18:29:18 +00:00
SemaCXXScopeSpec.cpp [typo-correction] Apply name specifier corrections when forming a NNS 2016-02-16 19:16:20 +00:00
SemaCast.cpp [Sema] Allow casting of some overloaded functions 2016-03-19 21:36:10 +00:00
SemaChecking.cpp Move the fixit for -Wformat-security to a note. 2016-03-15 20:56:38 +00:00
SemaCodeComplete.cpp [Parse] Code complete expressions in bracket declarators. 2016-02-18 15:30:24 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Build a CoroutineBodyStmt when finishing parsing a coroutine, and form the initial_suspend, final_suspend, and get_return_object calls. 2015-11-24 02:34:39 +00:00
SemaDecl.cpp Revert r263687 for ubsan bot failure. 2016-03-17 22:13:50 +00:00
SemaDeclAttr.cpp Revert r263687 for ubsan bot failure. 2016-03-17 22:13:50 +00:00
SemaDeclCXX.cpp Fix bug in using shadow decl checking: a using shadow decl should not conflict 2016-02-27 02:36:43 +00:00
SemaDeclObjC.cpp [modules] Flatten -fmodule-name= and -fmodule-implementation-of= into a single 2016-02-19 22:25:36 +00:00
SemaExceptionSpec.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaExpr.cpp Add TreatUnavailableAsInvalid for the verification-only mode in InitListChecker. 2016-03-10 18:53:19 +00:00
SemaExprCXX.cpp [SemaExprCXX] Avoid calling isInSystemHeader for invalid source locations 2016-03-04 10:00:08 +00:00
SemaExprMember.cpp [OPENMP 4.5] Codegen for data members in 'reduction' clause. 2016-03-02 04:57:40 +00:00
SemaExprObjC.cpp [Sema] More changes to fix Objective-C fallout from r249995. 2016-02-13 01:41:41 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Add TreatUnavailableAsInvalid for the verification-only mode in InitListChecker. 2016-03-10 18:53:19 +00:00
SemaLambda.cpp PR24989: Stop trying to use the C++11 rules for lambda return type inference in 2016-02-02 23:58:56 +00:00
SemaLookup.cpp [OPENMP 4.0] Initial support for 'omp declare reduction' construct. 2016-03-03 05:21:39 +00:00
SemaObjCProperty.cpp Fix remaining Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-12 22:53:10 +00:00
SemaOpenMP.cpp [OPENMP] Implementation of codegen for firstprivate clause of target directive 2016-03-18 21:43:32 +00:00
SemaOverload.cpp [Sema] Allow casting of some overloaded functions 2016-03-19 21:36:10 +00:00
SemaPseudoObject.cpp Class Property: class property and instance property can have the same name. 2016-01-28 18:49:28 +00:00
SemaStmt.cpp Fix false positives for for-loop-analysis warning 2016-03-10 02:02:48 +00:00
SemaStmtAsm.cpp Avoid using LookupResult's implicit copy ctor and assignment operator to avoid warnings 2016-03-16 09:56:58 +00:00
SemaStmtAttr.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
SemaTemplate.cpp Allow sizeof(UnrelatedClass::field) in C++11 class template methods 2016-03-11 18:59:12 +00:00
SemaTemplateDeduction.cpp [Sema] Make type deduction work with some overloadable functions 2016-03-19 21:51:45 +00:00
SemaTemplateInstantiate.cpp Fix the template instantiation of ExtParameterInfos; tests to follow. 2016-03-01 02:09:25 +00:00
SemaTemplateInstantiateDecl.cpp Semantic analysis for the swiftcall calling convention. 2016-03-03 06:39:32 +00:00
SemaTemplateVariadic.cpp Implement P0036R0: remove support for empty unary folds of +, *, |, &. 2016-03-04 21:27:21 +00:00
SemaType.cpp Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end 2016-03-16 18:00:46 +00:00
TreeTransform.h [OPENMP 4.0] Use 'declare reduction' constructs in 'reduction' clauses. 2016-03-17 10:19:46 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00