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
This commit is contained in:
Chad Rosier 2011-08-02 18:33:29 +00:00
Родитель e36050111e
Коммит 4068eaaec4
3 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -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.")

Просмотреть файл

@ -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}"

Просмотреть файл

@ -373,8 +373,8 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> 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;