[all-commits] [llvm/llvm-project] 4abb5c: CGBlocks.cpp - assert non-null CGF pointer. NFCI.
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Sep 16 04:35:45 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4abb5cd83902f1351db473c720ee0b95ebdcb338
https://github.com/llvm/llvm-project/commit/4abb5cd83902f1351db473c720ee0b95ebdcb338
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
Log Message:
-----------
CGBlocks.cpp - assert non-null CGF pointer. NFCI.
Fixes static analyzer warning.
Commit: aa1e15dda9e5941611f2183ba34087c2d02beb1a
https://github.com/llvm/llvm-project/commit/aa1e15dda9e5941611f2183ba34087c2d02beb1a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
Log Message:
-----------
TokenAnnotator.cpp - remove useless pointer null test. NFCI.
We dereference the Left pointer throughout the parseParens() function apart from this single case - just add an non-null assertion and drop the check.
Fixes clang static analayzer null dereference warning.
Commit: 439f5749d978acfa69f1a2d20c797c3fc0d97989
https://github.com/llvm/llvm-project/commit/439f5749d978acfa69f1a2d20c797c3fc0d97989
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M clang/lib/Serialization/ASTReader.cpp
Log Message:
-----------
[AST] ASTReader::ReadModuleMapFileBlock - assert non-null Module. NFCI.
At this stage the Module* shouldn't be null - add an assert to fix a clang static analyzer warning.
Compare: https://github.com/llvm/llvm-project/compare/dbd45b2db8e0...439f5749d978
More information about the All-commits
mailing list