mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
[clangd] ... and mark a new test as -fno-ms-compatibility too
This commit is contained in:
@@ -892,6 +892,7 @@ TEST(IncludeFixerTest, IncompleteEnum) {
|
||||
TestTU TU;
|
||||
TU.ExternalIndex = Index.get();
|
||||
TU.ExtraArgs.push_back("-std=c++20");
|
||||
TU.ExtraArgs.push_back("-fno-ms-compatibility"); // else incomplete enum is OK
|
||||
|
||||
std::vector<std::pair<llvm::StringRef, llvm::StringRef>> Tests{
|
||||
{"incomplete_enum", "enum class X : int; using enum [[X]];"},
|
||||
|
||||
Reference in New Issue
Block a user