mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 15:46:06 +00:00

This commit adds relative TableGen definitions to parse the `[[gnu::no_stack_protector]]` attribute. This PR addresses issue #75235.
6 lines
173 B
C++
6 lines
173 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
|
|
// expected-no-diagnostics
|
|
|
|
[[gnu::no_stack_protector]] void test1() {}
|
|
[[clang::no_stack_protector]] void test2() {}
|