summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/writeonlyvars.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/writeonlyvars.cxx')
-rw-r--r--compilerplugins/clang/writeonlyvars.cxx1
1 files changed, 1 insertions, 0 deletions
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.