summaryrefslogtreecommitdiff
path: root/test/Tooling
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2017-08-20 00:02:20 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2017-08-20 00:02:20 +0000
commit598a0a07067dc11b288c1f5da482003eb4439d68 (patch)
treecd9db16b7d07c091dd91cd770bbe7d1f716ce36d /test/Tooling
parentc778ea4b266d5fdcf3ab2d2509b19083bc43a91e (diff)
clang/test/Tooling/clang-diff-ast.cpp: Satisfy thiscall.
clang/test/Tooling/clang-diff-ast.cpp:45:12: error: expected string not found in input // CHECK: CXXConstructorDecl: X(void (char, int)) ^ <stdin>:43:25: note: scanning from here AccessSpecDecl: public(42) ^ <stdin>:44:2: note: possible intended match here CXXConstructorDecl: X(void (char, int) __attribute__((thiscall)))(43) ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Tooling')
-rw-r--r--test/Tooling/clang-diff-ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tooling/clang-diff-ast.cpp b/test/Tooling/clang-diff-ast.cpp
index 89817f0227..a79648d3f6 100644
--- a/test/Tooling/clang-diff-ast.cpp
+++ b/test/Tooling/clang-diff-ast.cpp
@@ -42,7 +42,7 @@ class X : Base {
// CHECK: AccessSpecDecl: public(
public:
- // CHECK: CXXConstructorDecl: X(void (char, int))(
+ // CHECK: CXXConstructorDecl: X(void (char, int){{( __attribute__\(\(thiscall\)\))?}})(
X(char, int) : Base(), m(0) {
// CHECK: MemberExpr(
int x = m;