mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 19:26:30 +00:00
mark some constant global const.
llvm-svn: 85910
This commit is contained in:
parent
7cb7017106
commit
d8b3330ada
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user