mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -385,8 +385,7 @@ static bool isObjectStart(tgtok::TokKind K) {
|
||||
/// GetNewAnonymousName - Generate a unique anonymous name that can be used as
|
||||
/// an identifier.
|
||||
std::string TGParser::GetNewAnonymousName() {
|
||||
unsigned Tmp = AnonCounter++; // MSVC2012 ICEs without this.
|
||||
return "anonymous_" + utostr(Tmp);
|
||||
return "anonymous_" + utostr(AnonCounter++);
|
||||
}
|
||||
|
||||
/// ParseObjectName - If an object name is specified, return it. Otherwise,
|
||||
|
Reference in New Issue
Block a user