hanchenye-llvm-project/clang/lib/Sema
Richard Smith 19172c4f70 Superficial fix for PR20218: binding a function lvalue to a const reference to
a function pointer is neither better nor worse than binding a function lvalue
to a function rvalue reference. Don't get confused and think that both bindings
are binding to a function lvalue (which would make the lvalue form win); the
const reference is binding to an rvalue.

The "real" bug in PR20218 is still present: we're getting the wrong answer from
template argument deduction, and that's what leads us to this weird overload
set.

llvm-svn: 212916
2014-07-14 02:28:44 +00:00
..
AnalysisBasedWarnings.cpp rewrap to 80 cols, no behavior change 2014-07-08 23:46:20 +00:00
AttributeList.cpp
CMakeLists.txt
CodeCompleteConsumer.cpp
DeclSpec.cpp
DelayedDiagnostic.cpp Objective-C. Diagnose when property access is using declared 2014-06-16 17:25:41 +00:00
IdentifierResolver.cpp
JumpDiagnostics.cpp
Makefile
MultiplexExternalSemaSource.cpp
Scope.cpp Sema: Check that __leave is contained in a __try block. 2014-07-06 22:53:19 +00:00
ScopeInfo.cpp Objective-C ARC. Do not warn about properties with both 2014-06-17 23:35:13 +00:00
Sema.cpp Replace some assert(0)'s with llvm_unreachable. 2014-06-18 05:13:13 +00:00
SemaAccess.cpp
SemaAttr.cpp
SemaCXXScopeSpec.cpp
SemaCast.cpp PR20227: materialize a temporary when dynamic_casting a class prvalue to a 2014-07-08 17:25:14 +00:00
SemaChecking.cpp Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
SemaCodeComplete.cpp Switch over a few uses of param_begin() to parameters() 2014-07-07 09:02:20 +00:00
SemaConsumer.cpp
SemaDecl.cpp Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
SemaDeclAttr.cpp The returns_nonnull attribute does not require a function prototype because it affects only the return value, not any arguments. In turn, asking for a function or method result type should not require a function prototype either, so getFunctionOrMethodResultType has been relaxed. 2014-07-11 16:31:29 +00:00
SemaDeclCXX.cpp Sema: Don't allow CVR qualifiers before structors 2014-07-08 18:18:04 +00:00
SemaDeclObjC.cpp Hide the concept of diagnostic levels from lex, parse and sema 2014-06-15 23:30:39 +00:00
SemaExceptionSpec.cpp Removing an "if (this == nullptr)" check from two print methods. The condition 2014-06-09 22:53:25 +00:00
SemaExpr.cpp Form a CallExpr from __noop without parens 2014-07-11 23:54:29 +00:00
SemaExprCXX.cpp Remove llvm:: from uses of ArrayRef. 2014-06-28 23:22:23 +00:00
SemaExprMember.cpp Hide the concept of diagnostic levels from lex, parse and sema 2014-06-15 23:30:39 +00:00
SemaExprObjC.cpp Switch over a few uses of param_begin() to parameters() 2014-07-07 09:02:20 +00:00
SemaFixItUtils.cpp
SemaInit.cpp rewrap to 80 cols, no behavior change 2014-07-08 23:54:25 +00:00
SemaLambda.cpp
SemaLookup.cpp Fix typos. 2014-07-09 05:42:35 +00:00
SemaObjCProperty.cpp
SemaOpenMP.cpp [OPENMP] Parsing and sema analysis for 'omp task' directive. 2014-07-11 11:25:16 +00:00
SemaOverload.cpp Superficial fix for PR20218: binding a function lvalue to a const reference to 2014-07-14 02:28:44 +00:00
SemaPseudoObject.cpp Switch over a few uses of param_begin() to parameters() 2014-07-07 09:02:20 +00:00
SemaStmt.cpp Add an AST node for __leave statements, hook it up. 2014-07-07 00:12:30 +00:00
SemaStmtAsm.cpp
SemaStmtAttr.cpp Fix PR20069: bad loop pragma arguments crash FE 2014-06-19 18:30:15 +00:00
SemaTemplate.cpp Sema: Allow dllimport entities in template args for mingw 2014-06-26 07:48:46 +00:00
SemaTemplateDeduction.cpp
SemaTemplateInstantiate.cpp Make a small crash preventing change. 2014-07-03 21:06:20 +00:00
SemaTemplateInstantiateDecl.cpp PR20256: don't accidentally instantiate non-dependent default-initialization as 2014-07-10 20:53:43 +00:00
SemaTemplateVariadic.cpp
SemaType.cpp rewrap to 80 cols, no behavior change 2014-07-08 23:54:25 +00:00
TreeTransform.h [OPENMP] Parsing and sema analysis for 'omp task' directive. 2014-07-11 11:25:16 +00:00
TypeLocBuilder.cpp
TypeLocBuilder.h