diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Analysis/inline3.c | 2 | ||||
-rw-r--r-- | clang/test/SemaCXX/missing-header.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Analysis/inline3.c b/clang/test/Analysis/inline3.c index 9c8e26ece51..1fa8b905dc0 100644 --- a/clang/test/Analysis/inline3.c +++ b/clang/test/Analysis/inline3.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-inline-call -analyzer-store region -verify %s -// Test when entering f1(), we set the right AnalysisContext to Environment. +// Test when entering f1(), we set the right AnalysisDeclContext to Environment. // Otherwise, block-level expr '1 && a' would not be block-level. int a; diff --git a/clang/test/SemaCXX/missing-header.cpp b/clang/test/SemaCXX/missing-header.cpp index f4365799005..5b3915b865c 100644 --- a/clang/test/SemaCXX/missing-header.cpp +++ b/clang/test/SemaCXX/missing-header.cpp @@ -2,8 +2,8 @@ #include "not exist" // expected-error{{'not exist' file not found}} -class AnalysisContext {}; -static ControlFlowKind CheckFallThrough(AnalysisContext &AC) { +class AnalysisDeclContext {}; +static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) { if (const AsmStmt *AS = dyn_cast<AsmStmt>(S)) {} bool NoReturnEdge = false; } |