From 1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 27 Oct 2004 16:14:51 +0000 Subject: Convert 'struct' to 'class' in various places to adhere to the coding standards and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/FunctionUtils.h | 2 +- include/llvm/Transforms/Utils/PromoteMemToReg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/llvm/Transforms/Utils') diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index 9c2f2098c1..d0e9cbc63e 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -18,7 +18,7 @@ namespace llvm { class BasicBlock; - class DominatorSet; + struct DominatorSet; class Function; class Loop; diff --git a/include/llvm/Transforms/Utils/PromoteMemToReg.h b/include/llvm/Transforms/Utils/PromoteMemToReg.h index f6c3a8fce0..12e7fb1257 100644 --- a/include/llvm/Transforms/Utils/PromoteMemToReg.h +++ b/include/llvm/Transforms/Utils/PromoteMemToReg.h @@ -20,8 +20,8 @@ namespace llvm { class AllocaInst; -class DominatorTree; -class DominanceFrontier; +struct DominatorTree; +struct DominanceFrontier; class TargetData; class AliasSetTracker; -- cgit v1.2.3-70-g09d2