llvm-project/clang/lib/Sema
David Majnemer c185aa7d92 Sema: Respect -fdelayed-template-parsing when parsing constexpr functions
Functions declared as constexpr must have their parsing delayed in
-fdelayed-template-parsing mode so as not to upset later template
instantiation.

N.B. My reading of the standard makes it seem like delayed template
parsing is at odds with constexpr.  We may want to make refinements in
other places in clang to make constexpr play nicer with this feature.

This fixes PR17334.

llvm-svn: 191484
2013-09-27 04:14:12 +00:00
..
AnalysisBasedWarnings.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
AttributeList.cpp Attribute tablegen now understands that attribute arguments can be optional. This allows for automated checking of the number of arguments expected vs number of arguments given for attributes. Greatly reduces the amount of manual checking required. 2013-09-09 23:33:17 +00:00
CMakeLists.txt Attribute tablegen now understands that attribute arguments can be optional. This allows for automated checking of the number of arguments expected vs number of arguments given for attributes. Greatly reduces the amount of manual checking required. 2013-09-09 23:33:17 +00:00
CodeCompleteConsumer.cpp Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
DeclSpec.cpp "bool" should be a context-sensitive keyword in Altivec mode. 2013-07-03 20:54:09 +00:00
DelayedDiagnostic.cpp objective-C: when diagnosing deprecated/unavailable usage of 2012-09-21 20:46:37 +00:00
IdentifierResolver.cpp Delete dead code. 2013-06-19 02:07:51 +00:00
JumpDiagnostics.cpp Fix a couple of bugs where jump diagnostics would not notice that a variable 2013-06-03 01:05:37 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
ScopeInfo.cpp Sema for Captured Statements 2013-04-16 19:37:38 +00:00
Sema.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
SemaAccess.cpp Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +00:00
SemaAttr.cpp Tablegen now generates a StringSwitch for attributes containing enumeration arguments to map strings to the proper enumeration value. This makes error checking more consistent and reduces the amount of hand-written code required. 2013-09-11 19:47:58 +00:00
SemaCXXScopeSpec.cpp Use -fms-compatibility to trigger lookup into dep. bases 2013-09-20 17:04:25 +00:00
SemaCast.cpp Allow dynamic_cast to void* even with -fno-rtti. 2013-09-24 23:21:41 +00:00
SemaChecking.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaCodeComplete.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp Fix error recovery when a return type correction includes a new name specifier. 2013-09-26 21:13:05 +00:00
SemaDeclAttr.cpp Fixes a buildbot failure (was using local 2013-09-19 17:52:50 +00:00
SemaDeclCXX.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
SemaDeclObjC.cpp ObjectiveC: Handle the case of qualifying protocols 2013-09-25 19:36:32 +00:00
SemaExceptionSpec.cpp Add the intrinsic __builtin_convertvector 2013-09-18 03:29:45 +00:00
SemaExpr.cpp Sema: Respect -fdelayed-template-parsing when parsing constexpr functions 2013-09-27 04:14:12 +00:00
SemaExprCXX.cpp PR16529: Don't forget to add the CXXFunctionalCastExpr type sugar to an 2013-09-23 02:20:00 +00:00
SemaExprMember.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
SemaExprObjC.cpp Omit llvm:: before makeArrayRef. We have using directive in this file. 2013-08-19 07:57:02 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp PR17295: Do not allow explicit conversion functions to be used in cases where 2013-09-21 21:55:46 +00:00
SemaLambda.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
SemaLookup.cpp Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +00:00
SemaObjCProperty.cpp ObjectiveC: Allow NS_RETURNS_INNER_POINTER annotation 2013-09-19 16:37:20 +00:00
SemaOpenMP.cpp [OPENMP] Improved variable lookup procedure for threadprivate variables. 2013-09-26 03:24:06 +00:00
SemaOverload.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
SemaPseudoObject.cpp Make IgnoreParens() look through ChooseExprs. 2013-07-20 00:40:58 +00:00
SemaStmt.cpp Refactor to use C++1y 'auto' semantics directly in lambdas with no specified 2013-09-25 05:02:54 +00:00
SemaStmtAsm.cpp [ms-inline asm] Don't diagnose an empty lookup for inline assmebly. This happen 2013-05-24 18:32:55 +00:00
SemaStmtAttr.cpp PR15300: Support C++11 attributes on base-specifiers. We don't support any such 2013-02-19 23:47:15 +00:00
SemaTemplate.cpp Implement restriction that a partial specialization must actually specialize 2013-09-24 04:49:23 +00:00
SemaTemplateDeduction.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
SemaTemplateInstantiate.cpp If a partial specialization of a member template is declared within a class 2013-09-26 03:49:48 +00:00
SemaTemplateInstantiateDecl.cpp If a partial specialization of a member template is declared within a class 2013-09-26 03:49:48 +00:00
SemaTemplateVariadic.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
SemaType.cpp Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
TargetAttributesSema.cpp Consolidating the notion of a GNU attribute parameter with the attribute argument list. 2013-08-31 01:11:41 +00:00
TargetAttributesSema.h Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here. 2012-12-20 19:22:21 +00:00
TreeTransform.h Implement a rudimentary form of generic lambdas. 2013-09-26 19:54:12 +00:00
TypeLocBuilder.cpp Add missing file from r183563 (the recommit of 183466). 2013-06-07 20:33:10 +00:00
TypeLocBuilder.h Re-commit r183466 with a fix to make the TypeLoc casting machinery work 2013-06-07 20:31:48 +00:00