Files
UnrealEngineUWP/Engine/Source/Programs/UnrealCodeAnalyzer/Private/ThreadSafety/TSAction.cpp
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

28 lines
637 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "UnrealCodeAnalyzerPCH.h"
#include "ThreadSafety/TSAction.h"
#include "ThreadSafety/TSConsumer.h"
namespace UnrealCodeAnalyzer
{
clang::ASTConsumer* FTSAction::CreateASTConsumer(clang::CompilerInstance& Compiler, clang::StringRef InFile)
{
Filename = InFile;
SourceManager = &Compiler.getSourceManager();
Consumer = new FTSConsumer(&Compiler.getASTContext(), InFile);
return Consumer;
}
bool FTSAction::BeginSourceFileAction(clang::CompilerInstance &CI, clang::StringRef Filename)
{
return true;
}
void FTSAction::EndSourceFileAction()
{
}
}