diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-03 18:30:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-03 18:30:31 +0000 |
| commit | 9e69536607cffde9669a2dd9f6f66a5cfe82e5ff (patch) | |
| tree | 6d6146f10022f31152c599be16d1e82cb6f16dd0 /llvm | |
| parent | ffa7c073529ea3cc82c31bcddda82a23c6a13dd7 (diff) | |
| download | bcm5719-llvm-9e69536607cffde9669a2dd9f6f66a5cfe82e5ff.tar.gz bcm5719-llvm-9e69536607cffde9669a2dd9f6f66a5cfe82e5ff.zip | |
mark some constant global const.
llvm-svn: 85910
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp index 7ec38914440..546988a10e4 100644 --- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -28,7 +28,6 @@ using namespace llvm; -namespace { //===----------------------------------------------------------------------===// /// Typedefs @@ -40,16 +39,18 @@ typedef std::vector<std::string> StrVector; /// Constants // Indentation. -unsigned TabWidth = 4; -unsigned Indent1 = TabWidth*1; -unsigned Indent2 = TabWidth*2; -unsigned Indent3 = TabWidth*3; +static const unsigned TabWidth = 4; +static const unsigned Indent1 = TabWidth*1; +static const unsigned Indent2 = TabWidth*2; +static const unsigned Indent3 = TabWidth*3; // Default help string. -const char * DefaultHelpString = "NO HELP MESSAGE PROVIDED"; +static const char * const DefaultHelpString = "NO HELP MESSAGE PROVIDED"; // Name for the "sink" option. -const char * SinkOptionName = "AutoGeneratedSinkOption"; +static const char * const SinkOptionName = "AutoGeneratedSinkOption"; + +namespace { //===----------------------------------------------------------------------===// /// Helper functions |

