From 74f011db76c7879257b9ee26e84353b03d63575f 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. llvm-svn: 151498 --- clang/include/clang/AST/Expr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 8f39ca53c672..a3225dfdfff7 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/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) :