diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Analysis/inline3.c | 2 | ||||
-rw-r--r-- | test/SemaCXX/missing-header.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/inline3.c b/test/Analysis/inline3.c index 9c8e26ece5..1fa8b905dc 100644 --- a/test/Analysis/inline3.c +++ b/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/test/SemaCXX/missing-header.cpp b/test/SemaCXX/missing-header.cpp index f436579900..5b3915b865 100644 --- a/test/SemaCXX/missing-header.cpp +++ b/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; } |