[PATCH] D53605: [AST] Pack PredefinedExpr
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 23 13:05:27 PDT 2018
riccibruno created this revision.
riccibruno added a reviewer: rjmccall.
riccibruno added a project: clang.
Herald added a subscriber: cfe-commits.
riccibruno added a dependency: D53604: [AST] Widen the bit-fields of Stmt to 8 bytes.
This patch does 3 things:
1. Move PredefinedExpr below StringLiteral so that it can use its definition.
2. Move the location and the IdentType into the newly available space of the bit-fields of Stmt.
3. Only store the function name when needed.
Repository:
rC Clang
https://reviews.llvm.org/D53605
Files:
include/clang/AST/Expr.h
include/clang/AST/Stmt.h
lib/AST/ASTImporter.cpp
lib/AST/Expr.cpp
lib/Sema/SemaExpr.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53605.170735.patch
Type: text/x-patch
Size: 11293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181023/83dabed0/attachment.bin>
More information about the cfe-commits
mailing list