mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-24 08:39:13 +00:00
Fix build after D74112
This commit is contained in:
parent
10540e480d
commit
d5e6e0a58b
@ -440,23 +440,6 @@ TEST(RenameTest, WithinFileRename) {
|
||||
template <template<typename> class Z> struct Bar { };
|
||||
template <> struct Bar<[[Foo]]> {};
|
||||
)cpp",
|
||||
|
||||
{
|
||||
// Implicit references in macro expansions.
|
||||
R"cpp(
|
||||
class [[Fo^o]] {};
|
||||
#define FooFoo Foo
|
||||
#define FOO Foo
|
||||
)cpp",
|
||||
R"cpp(
|
||||
#include "foo.h"
|
||||
void bar() {
|
||||
[[Foo]] x;
|
||||
FOO y;
|
||||
FooFoo z;
|
||||
}
|
||||
)cpp",
|
||||
},
|
||||
};
|
||||
for (llvm::StringRef T : Tests) {
|
||||
SCOPED_TRACE(T);
|
||||
@ -909,6 +892,22 @@ TEST(CrossFileRenameTests, WithUpToDateIndex) {
|
||||
}
|
||||
)cpp",
|
||||
},
|
||||
{
|
||||
// Implicit references in macro expansions.
|
||||
R"cpp(
|
||||
class [[Fo^o]] {};
|
||||
#define FooFoo Foo
|
||||
#define FOO Foo
|
||||
)cpp",
|
||||
R"cpp(
|
||||
#include "foo.h"
|
||||
void bar() {
|
||||
[[Foo]] x;
|
||||
FOO y;
|
||||
FooFoo z;
|
||||
}
|
||||
)cpp",
|
||||
},
|
||||
};
|
||||
|
||||
for (const auto& T : Cases) {
|
||||
|
Loading…
Reference in New Issue
Block a user