From 0840f2378e9b5764755c5dffd27d7878c7606a0c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 26 Feb 2012 18:34:07 +0000 Subject: [PATCH] Bit pack StringLiteral. 48 -> 40 bytes on x86_64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151498 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Expr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 8f39ca53c6..a3225dfdff 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -1340,10 +1340,10 @@ private: const uint32_t *asUInt32; } StrData; unsigned Length; - unsigned CharByteWidth; - unsigned NumConcatenated; + unsigned CharByteWidth : 4; unsigned Kind : 3; - bool IsPascal : 1; + unsigned IsPascal : 1; + unsigned NumConcatenated; SourceLocation TokLocs[1]; StringLiteral(QualType Ty) : -- 2.50.1