https://bugs.llvm.org/show_bug.cgi?id=38584
Bug ID: 38584
Summary: clang requires quotes around strings in attributes
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: annag...@microsoft.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
See following PR for discussion:
https://github.com/Microsoft/GSL/pull/703
The issue prevents platform-independent suppression of static analysis warnings
from CppCoreCheck, for example, i have to define the following macro to use as
suppression:
#if defined(_MSC_VER)
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
#else
#if defined(__clang__)
#define GSL_SUPPRESS(x) [[gsl::suppress("x")]]
#endif // __clang__
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs