]> granicus.if.org Git - clang/commit
[AST][NFC] Pack CXXNoexceptExpr and SubstNonTypeTemplateParmExpr
authorBruno Ricci <riccibrun@gmail.com>
Tue, 8 Jan 2019 14:44:34 +0000 (14:44 +0000)
committerBruno Ricci <riccibrun@gmail.com>
Tue, 8 Jan 2019 14:44:34 +0000 (14:44 +0000)
commite26ec09fb3d4d9554a12fd57c688be751abf220f
tree1cb36cffd62343050d19ae46f4f542fb5755bbd4
parente4d246c86329b82b8017e9a540279f07c8bb54ab
[AST][NFC] Pack CXXNoexceptExpr and SubstNonTypeTemplateParmExpr

Use the newly available space in the bit-fields of Stmt.
This saves one pointer per CXXNoexceptExpr/SubstNonTypeTemplateParmExpr.

Use this opportunity to run clang-format on these two classes and
fix some style issues. NFC overall.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350627 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
include/clang/AST/Stmt.h
lib/Serialization/ASTReaderStmt.cpp