summaryrefslogtreecommitdiffstats
path: root/clang/test/Tooling/clang-diff-ast.cpp
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
commit6adf81b1d57468c2a399083e84764abe8efba2fc (patch)
treef12737e1e7c72fb7fc8c1d825f40ff844711ae15 /clang/test/Tooling/clang-diff-ast.cpp
parent0447708f8d28e1b0917f42790bbd0425a1515b32 (diff)
downloadbcm5719-llvm-6adf81b1d57468c2a399083e84764abe8efba2fc.tar.gz
bcm5719-llvm-6adf81b1d57468c2a399083e84764abe8efba2fc.zip
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) ^ llvm-svn: 311270
Diffstat (limited to 'clang/test/Tooling/clang-diff-ast.cpp')
-rw-r--r--clang/test/Tooling/clang-diff-ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Tooling/clang-diff-ast.cpp b/clang/test/Tooling/clang-diff-ast.cpp
index 89817f02272..a79648d3f61 100644
--- a/clang/test/Tooling/clang-diff-ast.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud