How about C11 _Noreturn? *never satisfied*

On Jan 16, 2013, at 17:30 , Richard Smith <[email protected]> wrote:

> Author: rsmith
> Date: Wed Jan 16 19:30:42 2013
> New Revision: 172691
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=172691&view=rev
> Log:
> Implement C++11 semantics for [[noreturn]] attribute. This required splitting
> it apart from [[gnu::noreturn]] / __attribute__((noreturn)), since their
> semantics are not equivalent (for instance, we treat [[gnu::noreturn]] as
> affecting the function type, whereas [[noreturn]] does not).
> 
> Added:
>    cfe/trunk/test/CXX/dcl.dcl/dcl.attr/dcl.attr.noreturn/p1.cpp
>    cfe/trunk/test/CodeGenCXX/cxx11-noreturn.cpp
> Modified:
>    cfe/trunk/include/clang/AST/Decl.h
>    cfe/trunk/include/clang/AST/Type.h
>    cfe/trunk/include/clang/Basic/Attr.td
>    cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
>    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
>    cfe/trunk/include/clang/Sema/Sema.h
>    cfe/trunk/lib/AST/Decl.cpp
>    cfe/trunk/lib/Analysis/CFG.cpp
>    cfe/trunk/lib/CodeGen/CGCall.cpp
>    cfe/trunk/lib/Parse/ParseDecl.cpp
>    cfe/trunk/lib/Parse/ParseDeclCXX.cpp
>    cfe/trunk/lib/Parse/Parser.cpp
>    cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
>    cfe/trunk/lib/Sema/SemaDecl.cpp
>    cfe/trunk/lib/Sema/SemaDeclAttr.cpp
>    cfe/trunk/lib/Sema/SemaStmt.cpp
>    cfe/trunk/lib/Sema/SemaType.cpp
>    cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
>    cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/p5.cpp
>    cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/templates.cpp
>    cfe/trunk/test/Parser/cxx0x-attributes.cpp
>    cfe/trunk/test/Parser/objcxx11-attributes.mm

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to