summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/ctu-main.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2019-01-28 21:55:33 +0000
committerShafik Yaghmour <syaghmour@apple.com>2019-01-28 21:55:33 +0000
commit96b3d2094f9db5f9f64dec3e0c432bedb787d5eb (patch)
tree0a1fcdc8683d97ef7ec135daf0adacae5093dddc /clang/test/Analysis/ctu-main.cpp
parent0068d223eefa9cbff19831a16f6e80393df5156b (diff)
downloadbcm5719-llvm-96b3d2094f9db5f9f64dec3e0c432bedb787d5eb.tar.gz
bcm5719-llvm-96b3d2094f9db5f9f64dec3e0c432bedb787d5eb.zip
[ASTImporter] Fix handling of overriden methods during ASTImport
Summary: When importing classes we may add a CXXMethodDecl more than once to a CXXRecordDecl when handling overrides. This patch will fix the cases we currently know about and handle the case where we are only dealing with declarations. Differential Revision: https://reviews.llvm.org/D56936 llvm-svn: 352436
Diffstat (limited to 'clang/test/Analysis/ctu-main.cpp')
-rw-r--r--clang/test/Analysis/ctu-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/ctu-main.cpp b/clang/test/Analysis/ctu-main.cpp
index 35d1f52ad04..03a47dfe0b0 100644
--- a/clang/test/Analysis/ctu-main.cpp
+++ b/clang/test/Analysis/ctu-main.cpp
@@ -78,6 +78,6 @@ int main() {
clang_analyzer_eval(fun_using_anon_struct(8) == 8); // expected-warning{{TRUE}}
clang_analyzer_eval(other_macro_diag(1) == 1); // expected-warning{{TRUE}}
- // expected-warning@Inputs/ctu-other.cpp:75{{REACHABLE}}
+ // expected-warning@Inputs/ctu-other.cpp:80{{REACHABLE}}
MACRODIAG(); // expected-warning{{REACHABLE}}
}
OpenPOWER on IntegriCloud