an instantiation loc is always a file loc.

llvm-svn: 62370
This commit is contained in:
Chris Lattner 2009-01-16 22:53:27 +00:00
parent 703a6c7274
commit 671689a440
1 changed files with 0 additions and 3 deletions

View File

@ -133,9 +133,6 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D) {
for (PathDiagnostic::const_iterator I = D.begin(), E = D.end(); I != E; ++I) {
FullSourceLoc L = I->getLocation().getInstantiationLoc();
if (!L.isFileID())
return; // FIXME: Emit a warning?
if (!FileIDInitialized) {
FileID = L.getCanonicalFileID();
FileIDInitialized = true;