teak-llvm/clang/lib/Serialization
Bruno Ricci 9b6dfac5ad [AST] Store some data of CXXNewExpr as trailing objects
Store the optional array size expression, optional initialization expression
and optional placement new arguments in a trailing array. Additionally store
the range for the parenthesized type-id in a trailing object if needed since
in the vast majority of cases the type is not parenthesized (not a single new
expression in the translation unit of SemaDecl.cpp has a parenthesized type-id).

This saves 2 pointers per CXXNewExpr in all cases, and 2 pointers + 8 bytes
per CXXNewExpr in the common case where the type is not parenthesized.

Differential Revision: https://reviews.llvm.org/D56134

Reviewed By: rjmccall

llvm-svn: 350527
2019-01-07 15:04:45 +00:00
..
ASTCommon.cpp [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
ASTCommon.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ASTReader.cpp [OPENMP] parsing and sema support for 'close' map-type-modifier 2018-12-18 22:18:41 +00:00
ASTReaderDecl.cpp [ObjCARC] Add an new attribute, objc_externally_retained 2019-01-04 18:33:06 +00:00
ASTReaderInternals.h Remove trailing space 2018-07-30 19:24:48 +00:00
ASTReaderStmt.cpp [AST] Store some data of CXXNewExpr as trailing objects 2019-01-07 15:04:45 +00:00
ASTWriter.cpp [OPENMP] parsing and sema support for 'close' map-type-modifier 2018-12-18 22:18:41 +00:00
ASTWriterDecl.cpp [ObjCARC] Add an new attribute, objc_externally_retained 2019-01-04 18:33:06 +00:00
ASTWriterStmt.cpp [AST] Store some data of CXXNewExpr as trailing objects 2019-01-07 15:04:45 +00:00
CMakeLists.txt Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00
GeneratePCH.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
GlobalModuleIndex.cpp Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00
Module.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ModuleFileExtension.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ModuleManager.cpp Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00
MultiOnDiskHashTable.h Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
PCHContainerOperations.cpp Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00