Mesa (master): clover: Add missing include v2

Tom Stellard tstellar at kemper.freedesktop.org
Wed Jul 20 21:21:21 UTC 2016


Module: Mesa
Branch: master
Commit: a73bf11a63ea93640c26b5701c533b06d3a6f3e9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a73bf11a63ea93640c26b5701c533b06d3a6f3e9

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Tue Jul 19 15:05:34 2016 +0000

clover: Add missing include v2

clang commit r275822 removed unnecessary includes from header files,
so we now need to explicitly include clang/Lex/PreprocessorOptions.h

v2:
  - Use <> instead of "" for the include path.

Reviewed-by: Francisco Jerez <currojerez at riseup.net>
Reviewed-by: Vedran Miletić <vedran at miletic.net>

---

 src/gallium/state_trackers/clover/llvm/invocation.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 4b7de26..43f5e73 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -39,6 +39,7 @@
 #include <llvm-c/Target.h>
 
 #include <clang/CodeGen/CodeGenAction.h>
+#include <clang/Lex/PreprocessorOptions.h>
 #include <clang/Frontend/TextDiagnosticBuffer.h>
 #include <clang/Frontend/TextDiagnosticPrinter.h>
 #include <clang/Basic/TargetInfo.h>




More information about the mesa-commit mailing list