llvm-project/llvm/lib/DebugInfo
Nick Desaulniers bf940622c8 [DWARF] hoist nullptr checks. NFC
Summary:
This was flagged in https://www.viva64.com/en/b/0629/ under "Snippet No.
15" (see under #13). It looks like PVS studio flags nullptr checks where
the ptr is used inbetween creation and checking against nullptr.

Reviewers: JDevlieghere, probinson

Reviewed By: JDevlieghere

Subscribers: RKSimon, hiraditya, llvm-commits, srhines

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62118

llvm-svn: 361176
2019-05-20 16:58:59 +00:00
..
CodeView Use llvm::sort. NFC 2019-05-20 10:18:35 +00:00
DWARF [DWARF] hoist nullptr checks. NFC 2019-05-20 16:58:59 +00:00
MSF Move some classes into anonymous namespaces. NFC. 2019-02-11 15:16:21 +00:00
PDB [PDB] Fix hash function used to write /src/headerblock 2019-04-29 23:09:35 +00:00
Symbolize Recommit [Object] Change object::SectionRef::getContents() to return Expected<StringRef> 2019-05-16 13:24:04 +00:00
CMakeLists.txt
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00