aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorManna, Soumi <soumi.manna@intel.com>2023-09-05 12:42:26 -0700
committerManna, Soumi <soumi.manna@intel.com>2023-09-05 12:48:43 -0700
commit33b02d766eb83656c2bb214ac3512311e99874a2 (patch)
tree9052261a69a825d9f0cc017682ab169a6a07f152 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentc4a769ba03e4738340e28f2697ae1a2b972cd845 (diff)
downloadllvm-33b02d766eb83656c2bb214ac3512311e99874a2.zip
llvm-33b02d766eb83656c2bb214ac3512311e99874a2.tar.gz
llvm-33b02d766eb83656c2bb214ac3512311e99874a2.tar.bz2
[NFC][Clang] Fix static code analyzer concern about null value dereference
CurLexer is dereferenced and should not be null in clang::Preprocessor::SkipExcludedConditionalBlock(clang::SourceLocation, clang::SourceLocation, bool, bool, clang::SourceLocation) This patch adds an assert for NULL value check of pointer CurLexer and splits up all predicates so that, when/if a failure occurs, we'll be able to tell which predicate failed. Reviewed By: tahonermann Differential Revision: https://reviews.llvm.org/D158293
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions