[llvm] r333177 - [Support] Move header to WithColor header

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 04:47:20 PDT 2018


Author: jdevlieghere
Date: Thu May 24 04:47:20 2018
New Revision: 333177

URL: http://llvm.org/viewvc/llvm-project?rev=333177&view=rev
Log:
[Support] Move header to WithColor header

Forgot to move the CommandLine.h include form the implementation to the
header and didn't notice the failure with my local modules build.

Modified:
    llvm/trunk/include/llvm/Support/WithColor.h
    llvm/trunk/lib/Support/WithColor.cpp

Modified: llvm/trunk/include/llvm/Support/WithColor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/WithColor.h?rev=333177&r1=333176&r2=333177&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/WithColor.h (original)
+++ llvm/trunk/include/llvm/Support/WithColor.h Thu May 24 04:47:20 2018
@@ -11,6 +11,7 @@
 #define LLVM_SUPPORT_WITHCOLOR_H
 
 #include "llvm/ADT/StringRef.h"
+#include "llvm/Support/CommandLine.h"
 
 namespace llvm {
 

Modified: llvm/trunk/lib/Support/WithColor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/WithColor.cpp?rev=333177&r1=333176&r2=333177&view=diff
==============================================================================
--- llvm/trunk/lib/Support/WithColor.cpp (original)
+++ llvm/trunk/lib/Support/WithColor.cpp Thu May 24 04:47:20 2018
@@ -8,7 +8,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/WithColor.h"
-#include "llvm/Support/CommandLine.h"
 #include "llvm/Support/raw_ostream.h"
 
 using namespace llvm;




More information about the llvm-commits mailing list