diff options
-rw-r--r-- | compilerplugins/clang/colorcheck.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/elidestringvar.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/flatten.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/intvsfloat.cxx | 1 | ||||
-rw-r--r-- | compilerplugins/clang/noexceptmove.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/writeonlyvars.cxx | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/compilerplugins/clang/colorcheck.cxx b/compilerplugins/clang/colorcheck.cxx index 55f9034c675a..c3670598810f 100644 --- a/compilerplugins/clang/colorcheck.cxx +++ b/compilerplugins/clang/colorcheck.cxx @@ -15,6 +15,8 @@ #include <fstream> #include <set> +#include "llvm/ADT/Optional.h" + #include "config_clang.h" #include "check.hxx" diff --git a/compilerplugins/clang/elidestringvar.cxx b/compilerplugins/clang/elidestringvar.cxx index 89e740d21904..172d7e8d81c0 100644 --- a/compilerplugins/clang/elidestringvar.cxx +++ b/compilerplugins/clang/elidestringvar.cxx @@ -13,6 +13,8 @@ #include <cassert> #include <map> +#include "llvm/ADT/Optional.h" + #include "check.hxx" #include "plugin.hxx" diff --git a/compilerplugins/clang/flatten.cxx b/compilerplugins/clang/flatten.cxx index 8d7eac9d92b0..58492e71fb7a 100644 --- a/compilerplugins/clang/flatten.cxx +++ b/compilerplugins/clang/flatten.cxx @@ -8,6 +8,7 @@ */ #include "plugin.hxx" +#include "llvm/ADT/Optional.h" #include <cassert> #include <string> #include <iostream> diff --git a/compilerplugins/clang/intvsfloat.cxx b/compilerplugins/clang/intvsfloat.cxx index 771e2bca0db5..1a57eb928b30 100644 --- a/compilerplugins/clang/intvsfloat.cxx +++ b/compilerplugins/clang/intvsfloat.cxx @@ -10,6 +10,7 @@ #include "plugin.hxx" #include "check.hxx" +#include "llvm/ADT/Optional.h" #include <iostream> /** diff --git a/compilerplugins/clang/noexceptmove.cxx b/compilerplugins/clang/noexceptmove.cxx index 4f242848a3c4..24d12f51fa34 100644 --- a/compilerplugins/clang/noexceptmove.cxx +++ b/compilerplugins/clang/noexceptmove.cxx @@ -13,6 +13,8 @@ #include "config_clang.h" +#include "llvm/ADT/Optional.h" + #include <string> #include <set> diff --git a/compilerplugins/clang/writeonlyvars.cxx b/compilerplugins/clang/writeonlyvars.cxx index 3ea5356e4071..6aac4eaf997e 100644 --- a/compilerplugins/clang/writeonlyvars.cxx +++ b/compilerplugins/clang/writeonlyvars.cxx @@ -25,6 +25,7 @@ #include "check.hxx" #include "clang/AST/ParentMapContext.h" +#include "llvm/ADT/Optional.h" /** Finds variables that are effectively write-only. |