r279097 - Revert "[Driver] Use llvm-config.h, not config.h to unbreak out-of-tree builds"

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 18 10:43:02 PDT 2016


Author: vedantk
Date: Thu Aug 18 12:43:02 2016
New Revision: 279097

URL: http://llvm.org/viewvc/llvm-project?rev=279097&view=rev
Log:
Revert "[Driver] Use llvm-config.h, not config.h to unbreak out-of-tree builds"

This reverts commit r279035. According to Richard Smith, llvm-config.h
does not contain the right definitions.

Modified:
    cfe/trunk/tools/driver/cc1_main.cpp

Modified: cfe/trunk/tools/driver/cc1_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1_main.cpp?rev=279097&r1=279096&r2=279097&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1_main.cpp Thu Aug 18 12:43:02 2016
@@ -25,7 +25,7 @@
 #include "clang/Frontend/Utils.h"
 #include "clang/FrontendTool/Utils.h"
 #include "llvm/ADT/Statistic.h"
-#include "llvm/Config/llvm-config.h"
+#include "llvm/Config/config.h"
 #include "llvm/LinkAllPasses.h"
 #include "llvm/Option/ArgList.h"
 #include "llvm/Option/OptTable.h"




More information about the cfe-commits mailing list