X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FMangler.cpp;h=ef6defc58dc762a26475371c3c2f27def77ce5a0;hb=2faf3919d4a9f7dcd5cfae6ee447a650ffc6d40a;hp=826f950c4a45f4e019b8813cc06f11fc7696c353;hpb=acd03ae6791fc0fb9f1b05247a1dc082b46b8d8b;p=oota-llvm.git diff --git a/lib/Target/Mangler.cpp b/lib/Target/Mangler.cpp index 826f950c4a4..ef6defc58dc 100644 --- a/lib/Target/Mangler.cpp +++ b/lib/Target/Mangler.cpp @@ -58,8 +58,8 @@ static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) { /// appendMangledName - Add the specified string in mangled form if it uses /// any unusual characters. -void Mangler::appendMangledName(SmallVectorImpl &OutName, StringRef Str, - const MCAsmInfo *MAI) { +static void appendMangledName(SmallVectorImpl &OutName, StringRef Str, + const MCAsmInfo *MAI) { // The first character is not allowed to be a number unless the target // explicitly allows it. if ((MAI == 0 || !MAI->doesAllowNameToStartWithDigit()) &&