llvm-project/clang/lib/Sema
Daniel Jasper 5cad6856a3 Remove isIgnored()-test that is more expensive than the analysis behind it
In many translation units I have tried, the calls to isIgnored() removed
in this patch are more expensive than doing the analysis that is behind
it. The speed-up in translation units I have tried is between 10 and
20%.

Review: https://reviews.llvm.org/D28208
llvm-svn: 290842
2017-01-02 22:55:45 +00:00
..
AnalysisBasedWarnings.cpp [coroutines] Build fallthrough and set_exception statements. 2016-10-27 07:30:31 +00:00
AttributeList.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
CMakeLists.txt It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit. 2016-06-01 15:17:54 +00:00
CodeCompleteConsumer.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
DeclSpec.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
DelayedDiagnostic.cpp [Sema] Delay partial availability diagnostics, just like deprecated 2016-10-28 21:39:27 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp [Sema] Handle CaseStmt and DefaultStmt as SwitchCase 2016-10-26 02:00:00 +00:00
MultiplexExternalSemaSource.cpp [Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map. 2016-10-10 16:26:08 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo 2016-11-09 22:52:23 +00:00
Sema.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
SemaCUDA.cpp [CUDA] Ignore implicit target attributes during function template instantiation. 2016-12-08 19:38:13 +00:00
SemaCXXScopeSpec.cpp [ObjC++] Don't enter a C++ declarator scope when the current context is 2016-12-07 10:24:44 +00:00
SemaCast.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
SemaChecking.cpp Fix completely bogus types for some builtins: 2016-12-19 23:59:34 +00:00
SemaCodeComplete.cpp [CodeCompletion][ObjC] Use a parameterized NSSet return type for 2016-12-08 16:49:05 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types. 2016-10-27 18:43:28 +00:00
SemaDecl.cpp Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions 2016-12-18 05:18:55 +00:00
SemaDeclAttr.cpp Fix warning introduced by r290297. 2016-12-22 19:00:31 +00:00
SemaDeclCXX.cpp Allow lexer to handle string_view literals. Patch from Anton Bikineev. 2016-12-30 04:51:10 +00:00
SemaDeclObjC.cpp Mass-rename the handful of error_* diagnostics to err_*. 2016-12-02 22:38:31 +00:00
SemaExceptionSpec.cpp Fix completely bogus types for some builtins: 2016-12-19 23:59:34 +00:00
SemaExpr.cpp Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
SemaExprCXX.cpp Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
SemaExprMember.cpp DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
SemaExprObjC.cpp More diagnostic name fixups: w_ -> warn_, warning_ -> warn_, not_ -> note_. 2016-12-02 23:00:28 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
SemaLambda.cpp Remove custom handling of array copies in lambda by-value array capture and 2016-12-14 00:03:17 +00:00
SemaLookup.cpp Fix name hiding and redeclaration checking for dependent local 2016-12-18 22:01:46 +00:00
SemaObjCProperty.cpp Move checks for creation of objects of abstract class type from the various 2016-12-15 02:28:18 +00:00
SemaOpenMP.cpp [OpenMP] Sema and parsing for 'target teams distribute parallel for’ pragma 2016-12-29 22:16:30 +00:00
SemaOverload.cpp Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation." 2017-01-02 11:15:42 +00:00
SemaPseudoObject.cpp More diagnostic name fixups: w_ -> warn_, warning_ -> warn_, not_ -> note_. 2016-12-02 23:00:28 +00:00
SemaStmt.cpp [Sema] Avoid "case value not in enumerated type" warning for C++11 opaque enums 2016-12-08 14:46:05 +00:00
SemaStmtAsm.cpp Fix build error caused by r290539. 2016-12-26 13:16:40 +00:00
SemaStmtAttr.cpp [OpenCL] Enable unroll hint for OpenCL 1.x. 2016-12-13 14:02:35 +00:00
SemaTemplate.cpp Remove isIgnored()-test that is more expensive than the analysis behind it 2017-01-02 22:55:45 +00:00
SemaTemplateDeduction.cpp Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation." 2017-01-02 11:15:42 +00:00
SemaTemplateInstantiate.cpp DR1495: A partial specialization is ill-formed if it is not (strictly) more 2016-12-27 07:56:27 +00:00
SemaTemplateInstantiateDecl.cpp Mark 'auto' as dependent when instantiating the type of a non-type template 2016-12-28 06:27:18 +00:00
SemaTemplateVariadic.cpp [c++1z] P0195R2: Support pack-expansion of using-declarations. 2016-12-20 21:35:28 +00:00
SemaType.cpp Mark 'auto' as dependent when instantiating the type of a non-type template 2016-12-28 06:27:18 +00:00
TreeTransform.h [OpenMP] Sema and parsing for 'target teams distribute parallel for’ pragma 2016-12-29 22:16:30 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00