diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 | 
| commit | 4c8b24812ddcd1dedaca343a6d4e76f91f398981 (patch) | |
| tree | 137ebebcae16fb0ce7ab4af456992bbd8d22fced /lib/Basic/SourceLocation.cpp | |
| parent | 5362a71c02e7d448a8ce98cf00c47e353fba5d04 (diff) | |
Notes
Diffstat (limited to 'lib/Basic/SourceLocation.cpp')
| -rw-r--r-- | lib/Basic/SourceLocation.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/SourceLocation.cpp b/lib/Basic/SourceLocation.cpp index f21ec8b1e9d7e..578a4eb34bab5 100644 --- a/lib/Basic/SourceLocation.cpp +++ b/lib/Basic/SourceLocation.cpp @@ -40,7 +40,7 @@ void SourceLocation::print(llvm::raw_ostream &OS, const SourceManager &SM)const{      OS << "<invalid loc>";      return;    } -   +    if (isFileID()) {      PresumedLoc PLoc = SM.getPresumedLoc(*this);      // The instantiation and spelling pos is identical for file locs. @@ -48,7 +48,7 @@ void SourceLocation::print(llvm::raw_ostream &OS, const SourceManager &SM)const{         << ':' << PLoc.getColumn();      return;    } -   +    SM.getInstantiationLoc(*this).print(OS, SM);    OS << " <Spelling=";  | 
