summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-12-20 08:50:39 +0000
committerStephan Bergmann <sbergman@redhat.com>2022-12-20 10:24:14 +0000
commit1bd8f26a914c4d5811fd063618aff8e8bf72e023 (patch)
treecbcd50f1ddb963e1e93766032ac8e70037667368 /compilerplugins/clang
parent3cc818c38e11c0882bc3ad32ffd0019a9ad38643 (diff)
Revert "fix compile error in compilerplugins"
This reverts commit 99b5e216f107259d6e402896800282948997c4fa. It should only have been necessary after <https://github.com/llvm/llvm-project/commit/205c0589f918f95d2f2c586a01bea2716d73d603> "Revert '[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optional'" dropped the #include <optional> from clang/include/clang/Lex/PPCallbacks.h, and has been obsoleted by 3d7181caf3444d086be910545047550bac618968 "Adapt to PPCallbacks::InclusionDirective change in Clang 16 trunk". Change-Id: I89238a779fdda4c3ba15de93a4e647051e5844b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144594 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/includeform.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/compilerplugins/clang/includeform.cxx b/compilerplugins/clang/includeform.cxx
index 583cb059bc40..da955c20d3bb 100644
--- a/compilerplugins/clang/includeform.cxx
+++ b/compilerplugins/clang/includeform.cxx
@@ -8,7 +8,6 @@
*/
#include <memory>
-#include <optional>
#include "config_clang.h"