summaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-06-20 22:29:40 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-06-20 22:29:40 +0000
commit183488f9c882853a130252b9b16004d6fe523fd6 (patch)
treefbadcac9babcb8c389eac4b17cbaf000290f39b8 /lib/StaticAnalyzer/Checkers
parentc6f29843d5659504ce7c59c210d81c18cb9dcba4 (diff)
downloadclang-183488f9c882853a130252b9b16004d6fe523fd6.tar.gz
[analyzer] DeadStores: Update the crude suppression for files generated by IIG.
They changed the comments that we were looking for. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363995 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers')
-rw-r--r--lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp b/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
index b6fa47e469..d5baa2bcba 100644
--- a/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
@@ -174,7 +174,7 @@ public:
// Files autogenerated by DriverKit IIG contain some dead stores that
// we don't want to report.
- if (Data.startswith("/* iig generated from"))
+ if (Data.startswith("/* iig"))
return true;
return false;