[llvm-commits] [llvm] r82454 - /llvm/trunk/lib/VMCore/Mangler.cpp

Nuno Lopes nunoplopes at sapo.pt
Mon Sep 21 07:11:56 PDT 2009


Author: nlopes
Date: Mon Sep 21 09:11:56 2009
New Revision: 82454

URL: http://llvm.org/viewvc/llvm-project?rev=82454&view=rev
Log:
initialize SymbolsCanStartWithDigit to false by default

Modified:
    llvm/trunk/lib/VMCore/Mangler.cpp

Modified: llvm/trunk/lib/VMCore/Mangler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Mangler.cpp?rev=82454&r1=82453&r2=82454&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Mangler.cpp (original)
+++ llvm/trunk/lib/VMCore/Mangler.cpp Mon Sep 21 09:11:56 2009
@@ -208,7 +208,7 @@
                  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.





More information about the llvm-commits mailing list