[cfe-commits] r158767 - in /cfe/trunk: include/clang/Basic/Attr.td include/clang/Sema/AttributeList.h lib/Lex/PPMacroExpansion.cpp lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclCXX.cpp lib/Sema/DeclSpec.cpp lib/Sema/SemaDeclAttr.cpp lib/Sema/SemaStmtAttr.cpp lib/Sema/SemaType.cpp lib/Sema/TargetAttributesSema.cpp utils/TableGen/ClangAttrEmitter.cpp
Jordan Rose
jordan_rose at apple.com
Tue Jun 19 18:18:43 PDT 2012
On Jun 19, 2012, at 16:57 , Sean Hunt <scshunt at csclub.uwaterloo.ca> wrote:
> def FallThrough : Attr {
> - let Namespaces = ["clang"];
> - let Spellings = ["fallthrough"];
> + let Spellings = [GNU<"fallthrough">, CXX11<"clang","fallthrough">];
> let Subjects = [NullStmt];
> }
[[fallthrough]] only applies to statements, so there is no way to use __attribute__((fallthrough)) on anything.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120619/01411c43/attachment.html>
More information about the cfe-commits
mailing list