[cfe-commits] r136709 - in /cfe/trunk: CMakeLists.txt include/clang/Config/config.h.cmake lib/Driver/Driver.cpp

Chad Rosier mcrosier at apple.com
Tue Aug 2 11:33:29 PDT 2011


Author: mcrosier
Date: Tue Aug  2 13:33:29 2011
New Revision: 136709

URL: http://llvm.org/viewvc/llvm-project?rev=136709&view=rev
Log:
Temporarily revert parts of r136702 to make cmake builds happy.
Someone with more cmake experience want to throw me a bone? :)

Modified:
    cfe/trunk/CMakeLists.txt
    cfe/trunk/include/clang/Config/config.h.cmake
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=136709&r1=136708&r2=136709&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Aug  2 13:33:29 2011
@@ -272,6 +272,3 @@
     file(APPEND "${CLANG_SLN_FILENAME}" "\n# This should be regenerated!\n")
   endif()
 endif()
-
-set(BUG_REPORT_URL "http://llvm.org" CACHE STRING
-  "Default URL where bug reports are to be submitted.")

Modified: cfe/trunk/include/clang/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Config/config.h.cmake?rev=136709&r1=136708&r2=136709&view=diff
==============================================================================
--- cfe/trunk/include/clang/Config/config.h.cmake (original)
+++ cfe/trunk/include/clang/Config/config.h.cmake Tue Aug  2 13:33:29 2011
@@ -15,6 +15,3 @@
 
 /* Directories clang will search for headers. */
 #define C_INCLUDE_DIRS "${C_INCLUDE_DIRS}"
-
-/* Define default bug reporting URL. */
-#cmakedefine BUG_REPORT_URL "${BUG_REPORT_URL}"

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=136709&r1=136708&r2=136709&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Tue Aug  2 13:33:29 2011
@@ -373,8 +373,8 @@
 void Driver::generateCompilationDiagnostics(Compilation &C,
                                             const Command *FailingCommand) {
   Diag(clang::diag::note_drv_command_failed_diag_msg)
-    << "Please submit a bug report to " BUG_REPORT_URL " and include command"
-    " line arguments and all diagnostic information.";
+    << "Please submit a bug report and include command line arguments and "
+    "all diagnostic information.";
 
   // Suppress driver output and emit preprocessor output to temp file.
   CCCIsCPP = true;





More information about the cfe-commits mailing list