]> granicus.if.org Git - clang/commit
Tighten test regexes checking for __attribute__((thiscall)) on function types.
authorHans Wennborg <hans@hanshq.net>
Fri, 13 Dec 2013 18:34:23 +0000 (18:34 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 13 Dec 2013 18:34:23 +0000 (18:34 +0000)
commit0209f562837691b5d5aefb775f0c571d9e7283da
tree5f66c7e67afc3ae2746ad69515a6870adf0033db
parent665c732fb4e8d24228f0ff0dc19415eb9e61147f
Tighten test regexes checking for __attribute__((thiscall)) on function types.

The tests were perhaps made too relaxed in r197164 when we switched to the new
MinGW ABI. This makes sure we check explicitly for an optional thiscall
attribute and nothing else.

We should still look into whether we should print these attributes at all in
these cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197252 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
test/CXX/class.access/p6.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
test/CXX/expr/expr.const/p3-0x.cpp
test/CXX/expr/expr.mptr.oper/p5.cpp
test/CXX/expr/expr.mptr.oper/p6-0x.cpp
test/CXX/expr/expr.unary/expr.unary.op/p4.cpp
test/CXX/temp/temp.arg/temp.arg.nontype/p5.cpp
test/SemaCXX/addr-of-overloaded-function.cpp
test/SemaCXX/const-cast.cpp
test/SemaCXX/cstyle-cast.cpp
test/SemaCXX/functional-cast.cpp
test/SemaCXX/reinterpret-cast.cpp
test/SemaCXX/static-cast.cpp
test/SemaTemplate/explicit-instantiation.cpp
test/SemaTemplate/instantiate-method.cpp
test/SemaTemplate/temp_arg_nontype.cpp