aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit56b9fc1caef68a302d561472c1691ded886efd56 (patch)
treec7ea25c558fec882796a9261dd46051f53d6c83d /lib
parentce08ae8748979ca3ca4a0048ebc610602a76bedc (diff)
downloadexternal_llvm-56b9fc1caef68a302d561472c1691ded886efd56.zip
external_llvm-56b9fc1caef68a302d561472c1691ded886efd56.tar.gz
external_llvm-56b9fc1caef68a302d561472c1691ded886efd56.tar.bz2
initialize SymbolsCanStartWithDigit to false by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-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 a5fbf26..33eb044 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.