summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-29 00:48:16 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-29 00:48:16 +0000
commit817abdd8b055059e5930a15704b9f52da4236456 (patch)
tree4fe700cceca54cc5f1813ab55e5e583195cdc80e /include
parentc22f4aa886443507f8406d30d118fdeeac6a8c6c (diff)
downloadllvm-817abdd8b055059e5930a15704b9f52da4236456.tar.gz
llvm-817abdd8b055059e5930a15704b9f52da4236456.tar.bz2
llvm-817abdd8b055059e5930a15704b9f52da4236456.tar.xz
S'more small non-functional changes in comments and #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Attributes.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index a95ede1760..ba46d205ca 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -19,7 +19,6 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <string>
@@ -27,7 +26,8 @@ namespace llvm {
class AttrBuilder;
class AttributeImpl;
-class Constant;
+class AttributeSetImpl;
+class AttributeSetNode;
class LLVMContext;
class Type;
@@ -161,14 +161,6 @@ public:
};
//===----------------------------------------------------------------------===//
-// AttributeSet Smart Pointer
-//===----------------------------------------------------------------------===//
-
-class AttrBuilder;
-class AttributeSetImpl;
-class AttributeSetNode;
-
-//===----------------------------------------------------------------------===//
/// \class
/// \brief This class manages the ref count for the opaque AttributeSetImpl
/// object and provides accessors for it.
@@ -415,6 +407,7 @@ public:
iterator begin() { return Attrs.begin(); }
iterator end() { return Attrs.end(); }
+
const_iterator begin() const { return Attrs.begin(); }
const_iterator end() const { return Attrs.end(); }