aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-09-21 14:11:56 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-09-21 14:11:56 +0000
commitfa9a3027bcf2dd78762bf5e581414de45e092bb6 (patch)
treec7ea25c558fec882796a9261dd46051f53d6c83d
parentc2f4fa3c967c4a4acdf0471512f470fe23705248 (diff)
initialize SymbolsCanStartWithDigit to false by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82454 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Mangler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp
index a5fbf264c6..33eb0449e8 100644
--- a/lib/VMCore/Mangler.cpp
+++ b/lib/VMCore/Mangler.cpp
@@ -208,7 +208,7 @@ Mangler::Mangler(Module &M, const char *prefix, const char *privatePrefix,
const char *linkerPrivatePrefix)
: Prefix(prefix), PrivatePrefix(privatePrefix),
LinkerPrivatePrefix(linkerPrivatePrefix), UseQuotes(false),
- NextAnonGlobalID(1) {
+ SymbolsCanStartWithDigit(false), NextAnonGlobalID(1) {
std::fill(AcceptableChars, array_endof(AcceptableChars), 0);
// Letters and numbers are acceptable.