[PATCH] D53277: [analyzer][NFC][WIP] Collect all -analyzer-config options in a .def file

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 15 03:09:29 PDT 2018


Szelethus created this revision.
Szelethus added reviewers: NoQ, george.karpenkov, xazax.hun, rnkovacs, MTC.
Herald added subscribers: cfe-commits, donat.nagy, mikhail.ramalho, a.sidorin, szepet, whisperity.

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.

This patch is WIP, because I didn't add descriptions just yet.


Repository:
  rC Clang

https://reviews.llvm.org/D53277

Files:
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  lib/StaticAnalyzer/Core/CoreEngine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53277.169669.patch
Type: text/x-patch
Size: 50018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181015/61060308/attachment-0001.bin>


More information about the cfe-commits mailing list