llvm-project/clang/lib/Sema
Simon Pilgrim dc4d908d6e Sema - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in these cases we should be able to use castAs<> directly and if not assert will fire for us.

llvm-svn: 373911
2019-10-07 14:25:46 +00:00
..
AnalysisBasedWarnings.cpp [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +00:00
CMakeLists.txt Recommit [OpenCL] Move OpenCLBuiltins.td and remove unused include 2019-06-17 10:06:34 +00:00
CodeCompleteConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CoroutineStmtBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
MultiplexExternalSemaSource.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenCLBuiltins.td [OpenCL] Add image query builtin functions 2019-09-25 09:12:59 +00:00
ParsedAttr.cpp Move some definitions from Sema to Basic to fix shared libs build 2019-09-16 13:58:59 +00:00
Scope.cpp Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
Sema.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
SemaAccess.cpp Sema - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 14:25:46 +00:00
SemaAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaCUDA.cpp [HIP] Support new kernel launching API 2019-09-24 19:16:40 +00:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp Fix behavior of __builtin_bit_cast when the From and To types are the 2019-10-07 02:45:12 +00:00
SemaChecking.cpp Sema - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 14:25:46 +00:00
SemaCodeComplete.cpp [CodeComplete] Ensure object is the same in compareOverloads() 2019-10-04 08:10:27 +00:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp Sema - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 14:25:46 +00:00
SemaDecl.cpp Sema - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-07 14:25:46 +00:00
SemaDeclAttr.cpp SemaDeclAttr - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-04 15:02:46 +00:00
SemaDeclCXX.cpp Silence static analyzer getAs<RecordType> null dereference warnings. NFCI. 2019-10-03 11:22:48 +00:00
SemaDeclObjC.cpp NFC: Change ObjCQualified*TypesAreCompatible to take 2019-09-21 22:31:28 +00:00
SemaExceptionSpec.cpp Silence static analyzer getAs<RecordType> null dereference warnings. NFCI. 2019-10-03 11:22:48 +00:00
SemaExpr.cpp [Diagnostics] Highlight expr's source range for -Wbool-operation 2019-10-05 13:28:15 +00:00
SemaExprCXX.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
SemaExprMember.cpp Silence static analyzer getAs<RecordType> null dereference warnings. NFCI. 2019-10-03 11:22:48 +00:00
SemaExprObjC.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
SemaFixItUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
SemaLambda.cpp [c++20] Fix some ambiguities in our mangling of lambdas with explicit 2019-09-05 01:23:47 +00:00
SemaLookup.cpp Silence static analyzer getAs<RecordType> null dereference warnings. NFCI. 2019-10-03 11:22:48 +00:00
SemaModule.cpp Support for DWARF-5 C++ language tags. 2019-09-24 00:38:49 +00:00
SemaObjCProperty.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaOpenMP.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
SemaOverload.cpp Implements CWG 1601 in [over.ics.rank/4.2] 2019-10-06 18:50:40 +00:00
SemaPseudoObject.cpp Split ActOnCallExpr into an ActOnCallExpr to be called by the parser, 2019-05-08 01:36:36 +00:00
SemaStmt.cpp Remove redundant !HasDependentValue check. NFCI. 2019-10-05 13:20:51 +00:00
SemaStmtAsm.cpp Delay diagnosing asm constraints that require immediates until after inlining 2019-08-06 22:41:22 +00:00
SemaStmtAttr.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaTemplate.cpp SemaTemplate - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-05 13:21:08 +00:00
SemaTemplateDeduction.cpp Rename TypeNodes.def to TypeNodes.inc for consistency across all 2019-10-02 06:35:23 +00:00
SemaTemplateInstantiate.cpp [NFCI]Create CommonAttributeInfo Type as base type of *Attr and ParsedAttr. 2019-09-13 17:39:31 +00:00
SemaTemplateInstantiateDecl.cpp [OPENMP50]Add parsing/sema analysis for declare variant score. 2019-10-02 18:19:02 +00:00
SemaTemplateVariadic.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
SemaType.cpp Properly handle instantiation-dependent array bounds. 2019-10-04 01:25:59 +00:00
TreeTransform.h TreeTransform - silence static analyzer getAs<> null dereference warnings. NFCI. 2019-10-05 13:20:59 +00:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00