[cfe-commits] r167624 - /cfe/trunk/include/clang/AST/Decl.h
Rafael Espindola
rafael.espindola at gmail.com
Fri Nov 9 11:03:36 PST 2012
Author: rafael
Date: Fri Nov 9 13:03:35 2012
New Revision: 167624
URL: http://llvm.org/viewvc/llvm-project?rev=167624&view=rev
Log:
Don't use so many bits.
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=167624&r1=167623&r2=167624&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Fri Nov 9 13:03:35 2012
@@ -213,8 +213,8 @@
bool isCXXInstanceMember() const;
class LinkageInfo {
- uint8_t linkage_ : 4;
- uint8_t visibility_ : 3;
+ uint8_t linkage_ : 2;
+ uint8_t visibility_ : 2;
uint8_t explicit_ : 1;
void setVisibility(Visibility V, bool E) { visibility_ = V; explicit_ = E; }
More information about the cfe-commits
mailing list