llvm-project/clang/lib/Sema
Bill Wendling 1af8dd6a1e isEvaluatable() implies a constant context.
Assume that we're in a constant context if we're asking if the expression can
be compiled into a constant initializer. This fixes the issue where a
__builtin_constant_p() in a compound literal was diagnosed as not being
constant, even though it's always possible to convert the builtin into a
constant.

llvm-svn: 347512
2018-11-24 10:45:55 +00:00
..
AnalysisBasedWarnings.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
CMakeLists.txt Fix llvm-clang-x86_64-expensive-checks-win build by setting bigobj flag. 2018-10-05 12:33:57 +00:00
CodeCompleteConsumer.cpp [clang] Introduce new completion context types 2018-10-24 15:23:49 +00:00
CoroutineStmtBuilder.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
DeclSpec.cpp [OpenCL] Enable address spaces for references in C++ 2018-11-16 16:22:56 +00:00
DelayedDiagnostic.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
IdentifierResolver.cpp [AST] Various optimizations + refactoring in DeclarationName(Table) 2018-09-21 12:53:22 +00:00
JumpDiagnostics.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
MultiplexExternalSemaSource.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ParsedAttr.cpp Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
Scope.cpp Revert r335019 "Update NRVO logic to support early return (Attempt 2)" 2018-06-19 05:35:30 +00:00
ScopeInfo.cpp Distinguish `__block` variables that are captured by escaping blocks 2018-10-01 21:51:28 +00:00
Sema.cpp [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
SemaAccess.cpp P0969R0: allow structured binding of accessible members, not only public members. 2018-09-25 22:12:44 +00:00
SemaAttr.cpp Revert "Revert "Support for groups of attributes in #pragma clang attribute"" 2018-10-29 17:38:42 +00:00
SemaCUDA.cpp [NFC] Rename clang::AttributeList to clang::ParsedAttr 2018-07-13 15:07:47 +00:00
SemaCXXScopeSpec.cpp Clean up and simplify RequireCompleteType. 2018-08-07 21:35:41 +00:00
SemaCast.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaChecking.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaCodeComplete.cpp [CodeComplete] Delete unused variable in rC342449 2018-11-24 00:41:13 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [AST] Store the expressions in ParenListExpr in a trailing array 2018-11-20 16:20:40 +00:00
SemaDecl.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaDeclAttr.cpp Support Swift in platform availability attribute 2018-11-12 02:44:33 +00:00
SemaDeclCXX.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaDeclObjC.cpp Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
SemaExceptionSpec.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
SemaExpr.cpp isEvaluatable() implies a constant context. 2018-11-24 10:45:55 +00:00
SemaExprCXX.cpp [OpenCL] Enable address spaces for references in C++ 2018-11-16 16:22:56 +00:00
SemaExprMember.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaExprObjC.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaFixItUtils.cpp [Sema] Revert r329346 because of memory sanitizer failures. 2018-04-05 22:15:42 +00:00
SemaInit.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaLambda.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaLookup.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-20 17:53:42 +00:00
SemaObjCProperty.cpp Add -Wobjc-property-assign-on-object-type. 2018-09-05 19:02:00 +00:00
SemaOpenMP.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaOverload.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaPseudoObject.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
SemaStmt.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaStmtAsm.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaStmtAttr.cpp Merge two attribute diagnostics into one 2018-09-17 10:39:46 +00:00
SemaTemplate.cpp [Sema] Make sure we substitute an instantiation-dependent default template argument 2018-11-12 21:31:06 +00:00
SemaTemplateDeduction.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
SemaTemplateInstantiate.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
SemaTemplateInstantiateDecl.cpp Follow-up to r345699: Call CheckStaticLocalForDllExport later for templates 2018-10-31 10:34:46 +00:00
SemaTemplateVariadic.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
SemaType.cpp Re-Reinstate 347294 with a fix for the failures. 2018-11-21 20:44:18 +00:00
TreeTransform.h [OPENMP]Fix handling of the LCVs in loop-based directives. 2018-11-21 19:41:10 +00:00
TypeLocBuilder.cpp
TypeLocBuilder.h Remove trailing space 2018-07-30 19:24:48 +00:00