[llvm-commits] [dragonegg] r148576 - /dragonegg/trunk/src/Backend.cpp

Duncan Sands baldrick at free.fr
Fri Jan 20 13:44:47 PST 2012


Author: baldrick
Date: Fri Jan 20 15:44:46 2012
New Revision: 148576

URL: http://llvm.org/viewvc/llvm-project?rev=148576&view=rev
Log:
Output a GCC note for an LLVM message of note type.

Modified:
    dragonegg/trunk/src/Backend.cpp

Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=148576&r1=148575&r2=148576&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Fri Jan 20 15:44:46 2012
@@ -1721,9 +1721,11 @@
     error_at(loc, "%s", Message);
     break;
   case SourceMgr::DK_Warning:
-  case SourceMgr::DK_Note:
     warning_at(loc, 0, "%s", Message);
     break;
+  case SourceMgr::DK_Note:
+    inform(loc, "%s", Message);
+    break;
   }
 }
 





More information about the llvm-commits mailing list