r311270 - clang/test/Tooling/clang-diff-ast.cpp: Satisfy thiscall.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 19 17:02:20 PDT 2017
Author: chapuni
Date: Sat Aug 19 17:02:20 2017
New Revision: 311270
URL: http://llvm.org/viewvc/llvm-project?rev=311270&view=rev
Log:
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)
^
Modified:
cfe/trunk/test/Tooling/clang-diff-ast.cpp
Modified: cfe/trunk/test/Tooling/clang-diff-ast.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/clang-diff-ast.cpp?rev=311270&r1=311269&r2=311270&view=diff
==============================================================================
--- cfe/trunk/test/Tooling/clang-diff-ast.cpp (original)
+++ cfe/trunk/test/Tooling/clang-diff-ast.cpp Sat Aug 19 17:02:20 2017
@@ -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;
More information about the cfe-commits
mailing list