From 4068eaaec44346a5866dcf3e5e4204ca82134e53 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 2 Aug 2011 18:33:29 +0000 Subject: [PATCH] Temporarily revert parts of r136702 to make cmake builds happy. Someone with more cmake experience want to throw me a bone? :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136709 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 3 --- include/clang/Config/config.h.cmake | 3 --- lib/Driver/Driver.cpp | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 404b5988bb..3ad60eaff5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -272,6 +272,3 @@ if( CLANG_BUILT_STANDALONE AND MSVC_VERSION EQUAL 1600 ) 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.") diff --git a/include/clang/Config/config.h.cmake b/include/clang/Config/config.h.cmake index 6ca625d1d6..d70a151b27 100644 --- a/include/clang/Config/config.h.cmake +++ b/include/clang/Config/config.h.cmake @@ -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}" diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index fc2ec673e3..9ecfb7c5ba 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -373,8 +373,8 @@ Compilation *Driver::BuildCompilation(ArrayRef ArgList) { 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; -- 2.40.0