]> granicus.if.org Git - clang/commit
Revert r332470 (and corresponding tests in r332492).
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 18 May 2018 20:18:17 +0000 (20:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 18 May 2018 20:18:17 +0000 (20:18 +0000)
commit746b78de7812bc785fbb5207b788348040b23fa7
treec187f7d587cd10c98623cf5df56ec91c3289fdce
parent6cfc2d490caedf2aa783f086cf71f4bab807974a
Revert r332470 (and corresponding tests in r332492).

This regressed our support for __attribute__((section)). See added test file
for example of code broken by this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332760 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLambda.cpp
test/CodeGenCXX/code_seg1.cpp [deleted file]
test/CodeGenCXX/code_seg2.cpp [deleted file]
test/CodeGenCXX/code_seg3.cpp [deleted file]
test/CodeGenCXX/code_seg4.cpp [deleted file]
test/SemaCXX/attr-section.cpp [new file with mode: 0644]
test/SemaCXX/code_seg.cpp [deleted file]
test/SemaCXX/code_seg1.cpp [deleted file]