[PATCH] [Analyzer] Individual options for checkers #2

Gábor Horváth xazax.hun at gmail.com
Thu Feb 26 05:06:37 PST 2015


Hi zaks.anna, krememek, jordan_rose, a.sidorin,

This is a revised version of the original proposal that can be found here: http://reviews.llvm.org/D3967
The discussions on the mailing lists: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039552.html

Changes since the original proposal:
- Option inheritance is now op-in
- Ability to query package options
- Updated to recent trunk
- Minor coding style fixes
- Replaced some std::string with StringRefs where appropriate

This patch may lack some regression tests but I wanted to get some input on the changes, documentation, API before writing those.

http://reviews.llvm.org/D7905

Files:
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  test/Analysis/free.c
  test/Analysis/malloc-annotations.c
  test/Analysis/outofbound.c
  test/Analysis/undef-buffers.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7905.20746.patch
Type: text/x-patch
Size: 20746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150226/47744e34/attachment.bin>


More information about the cfe-commits mailing list