HomePhabricator

JSONCompilationDatabase.cpp - cleanup key parsing error checks. NFCI.

Authored by RKSimon on Sep 20 2020, 5:55 AM.

Description

JSONCompilationDatabase.cpp - cleanup key parsing error checks. NFCI.

Merge the key + sequence/value checks with the key handling code.

Reduces the number of key string comparisons and avoids a number of clang static analyzer null dereference warnings.

Details

Committed
RKSimonSep 20 2020, 5:55 AM
Parents
rG2990518b0324: [MemLoc] Support lllvm.memcpy.inline in MemoryLocation::getForArgument
Branches
Unknown
Tags
Unknown