aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-30 20:45:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-30 20:45:14 +0000
commitabe21e36d789cfe800562a1e889738addfd2ac5b (patch)
treea5fbff16c03bcbac0661cb9f3d336a897f813b8e /lib/StaticAnalyzer/Core/BugReporter.cpp
parentb4a542549c2e0c9eeb6ece3f95767ccdd141fa3e (diff)
Disable -Wunique-enum for anonymous enums.
This is a large class of false positives where anonymous enums are used to declare constants (see Clang's Diagnostics.h for example). A small number of true positives could probably be found in this bucket by still warning if the anonymous enum is used in a declarator (enum { ... } x;) but so far we don't believe this to be a source of significant benefit so I haven't bothered to preserve those cases. General offline review/acknowledgment by rtrieu. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
0 files changed, 0 insertions, 0 deletions