diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-16 22:53:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-16 22:53:27 +0000 |
commit | f3e8fcd07468028cd40e754cc7fb01a5c5be39bc (patch) | |
tree | db8c5c6d51e252760b9bb6cee1d59bb6e4fdaea5 /lib/Driver/HTMLDiagnostics.cpp | |
parent | 8402c73dd880e8af46c826d873681820aebe32eb (diff) |
an instantiation loc is always a file loc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/HTMLDiagnostics.cpp')
-rw-r--r-- | lib/Driver/HTMLDiagnostics.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Driver/HTMLDiagnostics.cpp b/lib/Driver/HTMLDiagnostics.cpp index c067be98f0..4128816765 100644 --- a/lib/Driver/HTMLDiagnostics.cpp +++ b/lib/Driver/HTMLDiagnostics.cpp @@ -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; |