]> granicus.if.org Git - clang/commit
P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if'...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 14 Jul 2016 00:11:03 +0000 (00:11 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 14 Jul 2016 00:11:03 +0000 (00:11 +0000)
commit9530e8bab6f84fd9b0da961423a395f5bfcb1e2a
tree07ab95d87e818ddb292f6451274407ac3fd09bd7
parentd1642265a78e95e9050fbd574554a7f53ae0c649
P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch':

  if (stmt; condition) { ... }

Patch by Anton Bikineev! Some minor formatting and comment tweets by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275350 91177308-0d34-0410-b5e6-96231b3b80d8
22 files changed:
include/clang/AST/Stmt.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/AST/ASTImporter.cpp
lib/AST/ExprConstant.cpp
lib/AST/Stmt.cpp
lib/Analysis/BodyFarm.cpp
lib/Analysis/CFG.cpp
lib/CodeGen/CGStmt.cpp
lib/Sema/JumpDiagnostics.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/CodeGenCXX/cxx1z-init-statement.cpp [new file with mode: 0644]
test/Misc/ast-dump-invalid.cpp
test/PCH/cxx1z-init-statement.cpp [new file with mode: 0644]
test/PCH/cxx1z-init-statement.h [new file with mode: 0644]
test/Parser/cxx1z-init-statement.cpp
test/SemaCXX/cxx1z-init-statement-warn-unused.cpp [new file with mode: 0644]
test/SemaCXX/cxx1z-init-statement.cpp [new file with mode: 0644]
www/cxx_status.html