summaryrefslogtreecommitdiff
path: root/clang/include
diff options
context:
space:
mode:
authorziqingluo-90 <ziqing@udel.edu>2023-05-15 11:55:35 -0700
committerziqingluo-90 <ziqing@udel.edu>2023-05-15 12:10:13 -0700
commit86c7e33b3fd0cc231b09b5af21ef42842f0ff97b (patch)
treeb16f206323ed43ccecf6d5fa2c09f8132fd6beef /clang/include
parent9c9e507b55c0331620be47c66ee08f19f56d67a7 (diff)
downloadllvm-86c7e33b3fd0cc231b09b5af21ef42842f0ff97b.tar.gz
Re-land "[-Wunsafe-buffer-usage] Remove an unnecessary const-qualifier"
Re-land 7a0900fd3e2d34bc1d513a97cf8fbdc1754252d7, which includes too much clang-format changes. This re-land gets rid of the format changes.
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/Sema/AnalysisBasedWarnings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/AnalysisBasedWarnings.h b/clang/include/clang/Sema/AnalysisBasedWarnings.h
index c73506894db9..020ddd36cf73 100644
--- a/clang/include/clang/Sema/AnalysisBasedWarnings.h
+++ b/clang/include/clang/Sema/AnalysisBasedWarnings.h
@@ -97,7 +97,7 @@ public:
const Decl *D, QualType BlockType);
// Issue warnings that require whole-translation-unit analysis.
- void IssueWarnings(const TranslationUnitDecl *D);
+ void IssueWarnings(TranslationUnitDecl *D);
Policy getDefaultPolicy() { return DefaultPolicy; }