[analyzer][NFC] Collect all -analyzer-config options in a .def file
authorKristof Umann <dkszelethus@gmail.com>
Fri, 2 Nov 2018 15:50:44 +0000 (15:50 +0000)
committerKristof Umann <dkszelethus@gmail.com>
Fri, 2 Nov 2018 15:50:44 +0000 (15:50 +0000)
commite390633d4625ef2f48e8e8780a1b4cca52aed689
tree493feca8e97fd80881340bd095b102b460f4fea9
parentc83b0dda493e0e029b6d0b8a71659643d396b448
[analyzer][NFC] Collect all -analyzer-config options in a .def file

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.

In this patch, I'm moving all analyzer options to a def file, and move 2 enums
to global namespace.

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

llvm-svn: 345986
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def [new file with mode: 0644]
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
clang/lib/StaticAnalyzer/Core/CoreEngine.cpp