aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Annotation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-27 16:14:51 +0000
committerChris Lattner <sabre@nondot.org>2004-10-27 16:14:51 +0000
commit1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 (patch)
tree84ba84e29d790774dd87ad9efc8acb702dafc842 /include/llvm/Support/Annotation.h
parent3acd9181df5d8f76f75a384266e2a78b9a6c4f45 (diff)
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
Diffstat (limited to 'include/llvm/Support/Annotation.h')
-rw-r--r--include/llvm/Support/Annotation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h
index 4325836c29..2331ca5a23 100644
--- a/include/llvm/Support/Annotation.h
+++ b/include/llvm/Support/Annotation.h
@@ -30,7 +30,7 @@ namespace llvm {
class AnnotationID;
class Annotation;
class Annotable;
-class AnnotationManager;
+struct AnnotationManager;
//===----------------------------------------------------------------------===//
//
@@ -39,7 +39,7 @@ class AnnotationManager;
// freely around and passed byvalue with little or no overhead.
//
class AnnotationID {
- friend class AnnotationManager;
+ friend struct AnnotationManager;
unsigned ID;
AnnotationID(); // Default ctor is disabled