diff options
| author | Nuno Lopes <nunoplopes@sapo.pt> | 2009-12-10 00:07:02 +0000 | 
|---|---|---|
| committer | Nuno Lopes <nunoplopes@sapo.pt> | 2009-12-10 00:07:02 +0000 | 
| commit | 221c1fd63e970da4187bb258f1ca51ecf42e38cd (patch) | |
| tree | ae4f3ea4aa1eb9d768d4161b0c441b65ffd5755d /clang/lib/AST | |
| parent | 75546b8c88aeac5563c10dcf01299a7258b59eee (diff) | |
| download | bcm5719-llvm-221c1fd63e970da4187bb258f1ca51ecf42e38cd.tar.gz bcm5719-llvm-221c1fd63e970da4187bb258f1ca51ecf42e38cd.zip | |
spread 'const' love to some variables. this considerably reduces the amount of dirty data around.
llvm-svn: 91002
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/DeclarationName.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/AST/DeclarationName.cpp b/clang/lib/AST/DeclarationName.cpp index 3471657b652..0ce03c21405 100644 --- a/clang/lib/AST/DeclarationName.cpp +++ b/clang/lib/AST/DeclarationName.cpp @@ -338,7 +338,7 @@ void DeclarationName::setFETokenInfo(void *T) {  DeclarationName DeclarationName::getUsingDirectiveName() {    // Single instance of DeclarationNameExtra for using-directive -  static DeclarationNameExtra UDirExtra = +  static const DeclarationNameExtra UDirExtra =      { DeclarationNameExtra::CXXUsingDirective };    uintptr_t Ptr = reinterpret_cast<uintptr_t>(&UDirExtra); | 

