You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
24 lines
641 B
C++
24 lines
641 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "clang/Frontend/FrontendAction.h"
|
|
|
|
namespace UnrealCodeAnalyzer
|
|
{
|
|
class FTSConsumer;
|
|
class clang::SourceManager;
|
|
|
|
class FTSAction : public clang::ASTFrontendAction
|
|
{
|
|
public:
|
|
virtual clang::ASTConsumer* CreateASTConsumer(clang::CompilerInstance& Compiler, clang::StringRef InFile) override;
|
|
virtual bool BeginSourceFileAction(clang::CompilerInstance &CI, clang::StringRef Filename) override;
|
|
virtual void EndSourceFileAction() override;
|
|
|
|
private:
|
|
FTSConsumer* Consumer;
|
|
clang::StringRef Filename;
|
|
clang::SourceManager* SourceManager;
|
|
};
|
|
}
|