[all-commits] [llvm/llvm-project] a735d6: JSONCompilationDatabase.cpp - cleanup key parsing ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Sep 20 06:01:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a735d6eae2847b039d12c75d4c794862dad59bc1
https://github.com/llvm/llvm-project/commit/a735d6eae2847b039d12c75d4c794862dad59bc1
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-20 (Sun, 20 Sep 2020)
Changed paths:
M clang/lib/Tooling/JSONCompilationDatabase.cpp
Log Message:
-----------
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.
More information about the All-commits
mailing list