Cleanup formatting and whitespace.

llvm-svn: 170389
This commit is contained in:
Eric Christopher 2012-12-18 00:30:54 +00:00
parent 37a913ae8f
commit a7c3273e85
1 changed files with 10 additions and 9 deletions

View File

@ -299,7 +299,8 @@ private:
bool ParseDirectiveFill(); // ".fill" bool ParseDirectiveFill(); // ".fill"
bool ParseDirectiveSpace(); // ".space" bool ParseDirectiveSpace(); // ".space"
bool ParseDirectiveZero(); // ".zero" bool ParseDirectiveZero(); // ".zero"
bool ParseDirectiveSet(StringRef IDVal, bool allow_redef); // ".set", ".equ", ".equiv" // ".set", ".equ", ".equiv"
bool ParseDirectiveSet(StringRef IDVal, bool allow_redef);
bool ParseDirectiveOrg(); // ".org" bool ParseDirectiveOrg(); // ".org"
// ".align{,32}", ".p2align{,w,l}" // ".align{,32}", ".p2align{,w,l}"
bool ParseDirectiveAlign(bool IsPow2, unsigned ValueSize); bool ParseDirectiveAlign(bool IsPow2, unsigned ValueSize);
@ -1409,7 +1410,7 @@ bool AsmParser::ParseStatement(ParseStatementInfo &Info) {
// section is the initial text section then generate a .loc directive for // section is the initial text section then generate a .loc directive for
// the instruction. // the instruction.
if (!HadError && getContext().getGenDwarfForAssembly() && if (!HadError && getContext().getGenDwarfForAssembly() &&
getContext().getGenDwarfSection() == getStreamer().getCurrentSection() ) { getContext().getGenDwarfSection() == getStreamer().getCurrentSection()) {
unsigned Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); unsigned Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer);
@ -1421,8 +1422,8 @@ bool AsmParser::ParseStatement(ParseStatementInfo &Info) {
if (CppHashFilename.size() != 0) { if (CppHashFilename.size() != 0) {
if(MCDwarfFiles[getContext().getGenDwarfFileNumber()]->getName() != if(MCDwarfFiles[getContext().getGenDwarfFileNumber()]->getName() !=
CppHashFilename) CppHashFilename)
getStreamer().EmitDwarfFileDirective( getStreamer().EmitDwarfFileDirective(
getContext().nextGenDwarfFileNumber(), StringRef(), CppHashFilename); getContext().nextGenDwarfFileNumber(), StringRef(), CppHashFilename);
unsigned CppHashLocLineNo = SrcMgr.FindLineNumber(CppHashLoc,CppHashBuf); unsigned CppHashLocLineNo = SrcMgr.FindLineNumber(CppHashLoc,CppHashBuf);
Line = CppHashLineNumber - 1 + (Line - CppHashLocLineNo); Line = CppHashLineNumber - 1 + (Line - CppHashLocLineNo);