aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-06-17 13:36:53 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-06-17 13:36:53 -0500
commitf9e49644f4875ba1807781b1224b3136fefe38e9 (patch)
tree6acf81faa625660c29e21c3523d82e6721139cae /clang/lib/Frontend/FrontendAction.cpp
parente694b2234430fe3d249f7bf22c630d1d227b98c5 (diff)
downloadllvm-f9e49644f4875ba1807781b1224b3136fefe38e9.zip
llvm-f9e49644f4875ba1807781b1224b3136fefe38e9.tar.gz
llvm-f9e49644f4875ba1807781b1224b3136fefe38e9.tar.bz2
Revert "wip"
This reverts commit 0dd243fa8a4ec98d6cabbad16e6b485a093c6dea. I accidentally pushed this! Oops!
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
-rw-r--r--clang/lib/Frontend/FrontendAction.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index 4a141e6..6b1f636 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/lib/Frontend/FrontendAction.cpp
@@ -24,7 +24,6 @@
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Parse/ParseAST.h"
-#include "clang/Sema/HLSLExternalSemaSource.h"
#include "clang/Serialization/ASTDeserializationListener.h"
#include "clang/Serialization/ASTReader.h"
#include "clang/Serialization/GlobalModuleIndex.h"
@@ -1015,13 +1014,6 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
CI.getASTContext().setExternalSource(Override);
}
- // Setup HLSL External Sema Source
- if (CI.getLangOpts().HLSL && CI.hasASTContext()) {
- IntrusiveRefCntPtr<ExternalASTSource> HLSLSema(
- new HLSLExternalSemaSource());
- CI.getASTContext().setExternalSource(HLSLSema);
- }
-
FailureCleanup.release();
return true;
}