You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Move UnrealCodeAnalyzer to Programs/UnrealCodeAnalyzer - Move clang/llvm binaries and includes to ThirdParty/llvm #codereview Robert.Manuszewski [CL 2613304 by Mikolaj Sieluzycki in Main branch]
25 lines
487 B
C++
25 lines
487 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "clang/AST/ASTConsumer.h"
|
|
#include "Visitor.h"
|
|
|
|
namespace UnrealCodeAnalyzer
|
|
{
|
|
class FConsumer : public clang::ASTConsumer
|
|
{
|
|
public:
|
|
explicit FConsumer(clang::ASTContext* Context, clang::StringRef InFile);
|
|
|
|
virtual void HandleTranslationUnit(clang::ASTContext &Ctx) override;
|
|
|
|
FPreHashedIncludeSetMap& GetIncludes()
|
|
{
|
|
return Visitor.GetIncludes();
|
|
}
|
|
|
|
private:
|
|
FVisitor Visitor;
|
|
};
|
|
}
|