From a7a50133ef2cb549b190287126c97e916becb9a8 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 17 Jun 2003 00:35:55 +0000 Subject: [PATCH] Regularize the names of #include-guards. llvm-svn: 6732 --- llvm/include/Support/Alloca.h | 6 +++--- llvm/include/Support/BitSetVector.h | 4 ++-- llvm/include/Support/CommandLine.h | 4 ++-- llvm/include/Support/DataTypes.h | 6 +++--- llvm/include/Support/DepthFirstIterator.h | 4 ++-- llvm/include/Support/EquivalenceClasses.h | 4 ++-- llvm/include/Support/GraphTraits.h | 4 ++-- llvm/include/Support/HashExtras.h | 4 ++-- llvm/include/Support/LeakDetector.h | 4 ++-- llvm/include/Support/MathExtras.h | 4 ++-- llvm/include/Support/NonCopyable.h | 4 ++-- llvm/include/Support/PostOrderIterator.h | 4 ++-- llvm/include/Support/SCCIterator.h | 4 ++-- llvm/include/Support/STLExtras.h | 4 ++-- llvm/include/Support/SetOperations.h | 4 ++-- llvm/include/Support/StringExtras.h | 4 ++-- llvm/include/Support/Tree.h | 4 ++-- llvm/include/Support/TypeInfo.h | 4 ++-- llvm/include/Support/hash_map | 4 ++-- llvm/include/Support/hash_set | 4 ++-- llvm/include/Support/ilist | 4 ++-- llvm/include/Support/iterator | 4 ++-- llvm/include/Support/slist | 4 ++-- 23 files changed, 48 insertions(+), 48 deletions(-) diff --git a/llvm/include/Support/Alloca.h b/llvm/include/Support/Alloca.h index 3c163ed0d666..a56e874c7558 100644 --- a/llvm/include/Support/Alloca.h +++ b/llvm/include/Support/Alloca.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_ALLOCA_H -#define LLVM_SUPPORT_ALLOCA_H +#ifndef SUPPORT_ALLOCA_H +#define SUPPORT_ALLOCA_H // TODO: Determine HAVE_ALLOCA_H based on autoconf results. // The following method is too brittle. @@ -27,4 +27,4 @@ #include #endif -#endif /* LLVM_SUPPORT_ALLOCA_H */ +#endif /* SUPPORT_ALLOCA_H */ diff --git a/llvm/include/Support/BitSetVector.h b/llvm/include/Support/BitSetVector.h index 6ce56be4d0cf..2200df746f39 100644 --- a/llvm/include/Support/BitSetVector.h +++ b/llvm/include/Support/BitSetVector.h @@ -23,8 +23,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_BITVECTORSET_H -#define LLVM_SUPPORT_BITVECTORSET_H +#ifndef SUPPORT_BITSETVECTOR_H +#define SUPPORT_BITSETVECTOR_H #include #include diff --git a/llvm/include/Support/CommandLine.h b/llvm/include/Support/CommandLine.h index b524c977f7cf..728bb1467835 100644 --- a/llvm/include/Support/CommandLine.h +++ b/llvm/include/Support/CommandLine.h @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_COMMANDLINE_H -#define LLVM_SUPPORT_COMMANDLINE_H +#ifndef SUPPORT_COMMANDLINE_H +#define SUPPORT_COMMANDLINE_H #include #include diff --git a/llvm/include/Support/DataTypes.h b/llvm/include/Support/DataTypes.h index 8a8952fb4ed3..80543c61404b 100644 --- a/llvm/include/Support/DataTypes.h +++ b/llvm/include/Support/DataTypes.h @@ -16,8 +16,8 @@ // TODO: This file sucks. Not only does it not work, but this stuff should be // autoconfiscated anyways. Major FIXME -#ifndef LLVM_SUPPORT_DATATYPES_H -#define LLVM_SUPPORT_DATATYPES_H +#ifndef SUPPORT_DATATYPES_H +#define SUPPORT_DATATYPES_H #define __STDC_LIMIT_MACROS 1 #include @@ -82,4 +82,4 @@ #error "include/Support/DataTypes.h could not determine endianness!" #endif -#endif /* LLVM_SUPPORT_DATATYPES_H */ +#endif /* SUPPORT_DATATYPES_H */ diff --git a/llvm/include/Support/DepthFirstIterator.h b/llvm/include/Support/DepthFirstIterator.h index 7ae4b9dc6ffd..b4a1b2969f5f 100644 --- a/llvm/include/Support/DepthFirstIterator.h +++ b/llvm/include/Support/DepthFirstIterator.h @@ -5,8 +5,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_DEPTH_FIRST_ITERATOR_H -#define LLVM_SUPPORT_DEPTH_FIRST_ITERATOR_H +#ifndef SUPPORT_DEPTHFIRSTITERATOR_H +#define SUPPORT_DEPTHFIRSTITERATOR_H #include "Support/GraphTraits.h" #include "Support/iterator" diff --git a/llvm/include/Support/EquivalenceClasses.h b/llvm/include/Support/EquivalenceClasses.h index 47da34b62cdb..96cfc87a7255 100644 --- a/llvm/include/Support/EquivalenceClasses.h +++ b/llvm/include/Support/EquivalenceClasses.h @@ -8,8 +8,8 @@ // //===------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_EQUIVALENCE_CLASSES_H -#define LLVM_SUPPORT_EQUIVALENCE_CLASSES_H +#ifndef SUPPORT_EQUIVALENCECLASSES_H +#define SUPPORT_EQUIVALENCECLASSES_H #include #include diff --git a/llvm/include/Support/GraphTraits.h b/llvm/include/Support/GraphTraits.h index 754e38fa7f5e..15c285da1703 100644 --- a/llvm/include/Support/GraphTraits.h +++ b/llvm/include/Support/GraphTraits.h @@ -8,8 +8,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_GRAPH_TRAITS_H -#define LLVM_SUPPORT_GRAPH_TRAITS_H +#ifndef SUPPORT_GRAPHTRAITS_H +#define SUPPORT_GRAPHTRAITS_H // GraphTraits - This class should be specialized by different graph types... // which is why the default version is empty. diff --git a/llvm/include/Support/HashExtras.h b/llvm/include/Support/HashExtras.h index 68a49eac9e92..f644cbd22bd0 100644 --- a/llvm/include/Support/HashExtras.h +++ b/llvm/include/Support/HashExtras.h @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_HASHEXTRAS_H -#define LLVM_SUPPORT_HASHEXTRAS_H +#ifndef SUPPORT_HASHEXTRAS_H +#define SUPPORT_HASHEXTRAS_H #include #include "Support/hash_map" diff --git a/llvm/include/Support/LeakDetector.h b/llvm/include/Support/LeakDetector.h index dadbac1efa4a..4c682be500ff 100644 --- a/llvm/include/Support/LeakDetector.h +++ b/llvm/include/Support/LeakDetector.h @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_LEAK_DETECTOR_H -#define SUPPORT_LEAK_DETECTOR_H +#ifndef SUPPORT_LEAKDETECTOR_H +#define SUPPORT_LEAKDETECTOR_H #include class Value; diff --git a/llvm/include/Support/MathExtras.h b/llvm/include/Support/MathExtras.h index d73394149bad..bfb88552bf56 100644 --- a/llvm/include/Support/MathExtras.h +++ b/llvm/include/Support/MathExtras.h @@ -4,8 +4,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_MATH_EXTRAS_H -#define SUPPORT_MATH_EXTRAS_H +#ifndef SUPPORT_MATHEXTRAS_H +#define SUPPORT_MATHEXTRAS_H #include "Support/DataTypes.h" diff --git a/llvm/include/Support/NonCopyable.h b/llvm/include/Support/NonCopyable.h index 82f3c1a760d2..f13b7ce9da83 100644 --- a/llvm/include/Support/NonCopyable.h +++ b/llvm/include/Support/NonCopyable.h @@ -9,8 +9,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_NONCOPYABLE_H -#define LLVM_SUPPORT_NONCOPYABLE_H +#ifndef SUPPORT_NONCOPYABLE_H +#define SUPPORT_NONCOPYABLE_H class NonCopyable { // Disable the copy constructor and the assignment operator diff --git a/llvm/include/Support/PostOrderIterator.h b/llvm/include/Support/PostOrderIterator.h index 4c19e7ac3615..084d38fd9df9 100644 --- a/llvm/include/Support/PostOrderIterator.h +++ b/llvm/include/Support/PostOrderIterator.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_POSTORDER_ITERATOR_H -#define LLVM_SUPPORT_POSTORDER_ITERATOR_H +#ifndef SUPPORT_POSTORDERITERATOR_H +#define SUPPORT_POSTORDERITERATOR_H #include "Support/GraphTraits.h" #include "Support/iterator" diff --git a/llvm/include/Support/SCCIterator.h b/llvm/include/Support/SCCIterator.h index ed660d64c723..b7037701e06b 100644 --- a/llvm/include/Support/SCCIterator.h +++ b/llvm/include/Support/SCCIterator.h @@ -11,8 +11,8 @@ // (NOTE: This requires some simple wrappers and is not supported yet.) //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_TARJANSCC_ITERATOR_H -#define LLVM_SUPPORT_TARJANSCC_ITERATOR_H +#ifndef SUPPORT_TARJANSCCITERATOR_H +#define SUPPORT_TARJANSCCITERATOR_H #include "Support/GraphTraits.h" #include diff --git a/llvm/include/Support/STLExtras.h b/llvm/include/Support/STLExtras.h index b2fde4363725..348c4e17aac8 100644 --- a/llvm/include/Support/STLExtras.h +++ b/llvm/include/Support/STLExtras.h @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_STL_EXTRAS_H -#define LLVM_SUPPORT_STL_EXTRAS_H +#ifndef SUPPORT_STLEXTRAS_H +#define SUPPORT_STLEXTRAS_H #include #include "Support/iterator" diff --git a/llvm/include/Support/SetOperations.h b/llvm/include/Support/SetOperations.h index d79d38638047..3a5e6f2bd46f 100644 --- a/llvm/include/Support/SetOperations.h +++ b/llvm/include/Support/SetOperations.h @@ -5,8 +5,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_SET_OPERATIONS_H -#define LLVM_SUPPORT_SET_OPERATIONS_H +#ifndef SUPPORT_SETOPERATIONS_H +#define SUPPORT_SETOPERATIONS_H // set_union(A, B) - Compute A := A u B, return whether A changed. // diff --git a/llvm/include/Support/StringExtras.h b/llvm/include/Support/StringExtras.h index 529d86caa205..924f6c35f870 100644 --- a/llvm/include/Support/StringExtras.h +++ b/llvm/include/Support/StringExtras.h @@ -4,8 +4,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_STRING_EXTRAS_H -#define SUPPORT_STRING_EXTRAS_H +#ifndef SUPPORT_STRINGEXTRAS_H +#define SUPPORT_STRINGEXTRAS_H #include "Support/DataTypes.h" #include diff --git a/llvm/include/Support/Tree.h b/llvm/include/Support/Tree.h index 544e57e5263d..9979caaf312d 100644 --- a/llvm/include/Support/Tree.h +++ b/llvm/include/Support/Tree.h @@ -5,8 +5,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_TREE_H -#define LLVM_SUPPORT_TREE_H +#ifndef SUPPORT_TREE_H +#define SUPPORT_TREE_H #include diff --git a/llvm/include/Support/TypeInfo.h b/llvm/include/Support/TypeInfo.h index 29f4e22a9913..9884f65e6918 100644 --- a/llvm/include/Support/TypeInfo.h +++ b/llvm/include/Support/TypeInfo.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_TYPEINFO_H -#define LLVM_SUPPORT_TYPEINFO_H +#ifndef SUPPORT_TYPEINFO_H +#define SUPPORT_TYPEINFO_H #include diff --git a/llvm/include/Support/hash_map b/llvm/include/Support/hash_map index dc905da4101c..3c50e4b13fd9 100644 --- a/llvm/include/Support/hash_map +++ b/llvm/include/Support/hash_map @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_HASHMAP_H -#define SUPPORT_HASHMAP_H +#ifndef SUPPORT_HASH_MAP +#define SUPPORT_HASH_MAP // Compiler Support Matrix // diff --git a/llvm/include/Support/hash_set b/llvm/include/Support/hash_set index 4bd91ab241f8..72c20ce23552 100644 --- a/llvm/include/Support/hash_set +++ b/llvm/include/Support/hash_set @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_HASHSET_H -#define SUPPORT_HASHSET_H +#ifndef SUPPORT_HASH_SET +#define SUPPORT_HASH_SET // Compiler Support Matrix // diff --git a/llvm/include/Support/ilist b/llvm/include/Support/ilist index 1d868f8a4a42..ce906ba559cb 100644 --- a/llvm/include/Support/ilist +++ b/llvm/include/Support/ilist @@ -28,8 +28,8 @@ // //===----------------------------------------------------------------------===// -#ifndef INCLUDED_SUPPORT_ILIST -#define INCLUDED_SUPPORT_ILIST +#ifndef SUPPORT_ILIST +#define SUPPORT_ILIST #include #include diff --git a/llvm/include/Support/iterator b/llvm/include/Support/iterator index 46cf96793699..444f5ab152bf 100644 --- a/llvm/include/Support/iterator +++ b/llvm/include/Support/iterator @@ -16,8 +16,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_ITERATOR_H -#define SUPPORT_ITERATOR_H +#ifndef SUPPORT_ITERATOR +#define SUPPORT_ITERATOR #include diff --git a/llvm/include/Support/slist b/llvm/include/Support/slist index 4f723df761c3..71670e6af295 100644 --- a/llvm/include/Support/slist +++ b/llvm/include/Support/slist @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SUPPORT_SLIST_H -#define SUPPORT_SLIST_H +#ifndef SUPPORT_SLIST +#define SUPPORT_SLIST // Compiler Support Matrix //