[clang] 5d3dca2 - Ignore unknown attribute warnings in this test
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 27 12:45:53 PST 2021
Author: Aaron Ballman
Date: 2021-01-27T15:45:35-05:00
New Revision: 5d3dca24aab847f0fdfd558987c1c28469e2f31e
URL: https://github.com/llvm/llvm-project/commit/5d3dca24aab847f0fdfd558987c1c28469e2f31e
DIFF: https://github.com/llvm/llvm-project/commit/5d3dca24aab847f0fdfd558987c1c28469e2f31e.diff
LOG: Ignore unknown attribute warnings in this test
We're testing the parsing behavior, not the actual attributes used, and
the attribute name cannot be elided for __declspec attributes.
Added:
Modified:
clang/test/Parser/attr-order.cpp
Removed:
################################################################################
diff --git a/clang/test/Parser/attr-order.cpp b/clang/test/Parser/attr-order.cpp
index b8feff7cfdcf..d47dff9058bc 100644
--- a/clang/test/Parser/attr-order.cpp
+++ b/clang/test/Parser/attr-order.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fms-extensions -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fms-extensions -Wno-ignored-attributes -verify %s
struct [[]] __attribute__((lockable)) __declspec(dllexport) A {}; // ok
struct [[]] __declspec(dllexport) __attribute__((lockable)) B {}; // ok
More information about the cfe-commits
mailing list