mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-05 16:49:15 -08: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() {}
|