Skip to content

Commit 5a0d211

Browse files
authored
[SYCLomatic] Refactor infrastructure to run analysis pass before migration pass (#89)
Signed-off-by: Ziran Zhang <[email protected]>
1 parent ec514d5 commit 5a0d211

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+674
-538
lines changed

clang/include/clang/Frontend/MultiplexConsumer.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ class MultiplexConsumer : public SemaConsumer {
7777
void InitializeSema(Sema &S) override;
7878
void ForgetSema() override;
7979

80+
#ifdef SYCLomatic_CUSTOMIZATION
81+
void HandleCXXExplicitFunctionInstantiation(
82+
const FunctionDecl *Specialization, const FunctionTypeLoc &FTL,
83+
const ParsedAttributes &Attrs,
84+
const TemplateArgumentListInfo &TAList) override;
85+
#endif // SYCLomatic_CUSTOMIZATION
86+
8087
private:
8188
std::vector<std::unique_ptr<ASTConsumer>> Consumers; // Owns these.
8289
std::unique_ptr<MultiplexASTMutationListener> MutationListener;

0 commit comments

Comments
 (0)