summaryrefslogtreecommitdiffstats
path: root/tools/scan-build
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-06-08 18:27:55 +0000
committerTed Kremenek <kremenek@apple.com>2010-06-08 18:27:55 +0000
commit55d7d36f48b9b113e30de1721e83a639d14094b0 (patch)
tree0b55cb16072cc961f084e339b168a6f6a519d691 /tools/scan-build
parentd7c7338dd7bf1a35179ec3521f7438c0fbd98e9c (diff)
Add ccc-analyzer support for '-imacros'. Fixes PR 7204.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build')
-rwxr-xr-xtools/scan-build/ccc-analyzer1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index 391ea57faa..803b5e9d4c 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -320,6 +320,7 @@ my %CompileOptionMap = (
'-ffreestanding' => 0,
'-include' => 1,
'-idirafter' => 1,
+ '-imacros' => 1,
'-iprefix' => 1,
'-iquote' => 1,
'-isystem' => 1,