[analyzer][NFC] Fix inconsistencies in AnalyzerOptions
authorKristof Umann <dkszelethus@gmail.com>
Sun, 21 Oct 2018 18:19:32 +0000 (18:19 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Sun, 21 Oct 2018 18:19:32 +0000 (18:19 +0000)
commitca8a05ac34b69559911a014c64fdbaa998c1da99
tree97afc4c419f7881fd1da938f96beef8d5c1a30c4
parentd9e2e383a976b4a075e2a483ce45f76520b897e1
[analyzer][NFC] Fix inconsistencies in AnalyzerOptions

I'm in the process of refactoring AnalyzerOptions. The main motivation behind
here is to emit warnings if an invalid -analyzer-config option is given from the
command line, and be able to list them all.

This first NFC patch contains small modifications to make AnalyzerOptions.cpp a
little more consistent.

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

llvm-svn: 344870
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
clang/lib/StaticAnalyzer/Core/CoreEngine.cpp