]> granicus.if.org Git - clang/commit
Add more Parser/Sema support for GCC asm-label extension.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 5 Aug 2008 01:35:17 +0000 (01:35 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 5 Aug 2008 01:35:17 +0000 (01:35 +0000)
commita80f8749f2968d19595ca2544114932bf0ca2c11
treefb1a27a8795fa3ac5c6b965cf38d1be74bfe49dc
parent820b03398fdcc8f1f6c60ace55b708e311fa8ce4
Add more Parser/Sema support for GCC asm-label extension.
 - ActOnDeclarator now takes an additional parameter which is the
   AsmLabel if used. Its unfortunate that this bubbles up this high,
   but we cannot just lump it in as an attribute without mistakenly
   *accepting* it as an attribute.
 - The actual asm-label itself is, however, encoded as an AsmLabelAttr
   on the FunctionDecl.
 - Slightly improved parser error recovery on malformed asm-labels.
 - CodeGen support still missing...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54339 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/PrintParserCallbacks.cpp
include/clang/AST/Attr.h
include/clang/Parse/Action.h
lib/Parse/MinimalAction.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp