[llvm] r173738 - S'more small non-functional changes in comments and #includes.

Bill Wendling isanbard at gmail.com
Mon Jan 28 16:48:17 PST 2013


Author: void
Date: Mon Jan 28 18:48:16 2013
New Revision: 173738

URL: http://llvm.org/viewvc/llvm-project?rev=173738&view=rev
Log:
S'more small non-functional changes in comments and #includes.

Modified:
    llvm/trunk/include/llvm/IR/Attributes.h
    llvm/trunk/lib/IR/Attributes.cpp

Modified: llvm/trunk/include/llvm/IR/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Attributes.h?rev=173738&r1=173737&r2=173738&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Attributes.h (original)
+++ llvm/trunk/include/llvm/IR/Attributes.h Mon Jan 28 18:48:16 2013
@@ -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(); }
 

Modified: llvm/trunk/lib/IR/Attributes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Attributes.cpp?rev=173738&r1=173737&r2=173738&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Attributes.cpp (original)
+++ llvm/trunk/lib/IR/Attributes.cpp Mon Jan 28 18:48:16 2013
@@ -16,7 +16,6 @@
 #include "llvm/IR/Attributes.h"
 #include "AttributeImpl.h"
 #include "LLVMContextImpl.h"
-#include "llvm/ADT/FoldingSet.h"
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/IR/Type.h"
 #include "llvm/Support/Atomic.h"
@@ -28,7 +27,7 @@
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
-// Attribute Implementation
+// Attribute Construction Methods
 //===----------------------------------------------------------------------===//
 
 Attribute Attribute::get(LLVMContext &Context, AttrKind Kind) {
@@ -72,6 +71,10 @@ Attribute Attribute::getWithStackAlignme
   return get(Context, B.addStackAlignmentAttr(Align));
 }
 
+//===----------------------------------------------------------------------===//
+// Attribute Accessor Methods
+//===----------------------------------------------------------------------===//
+
 bool Attribute::hasAttribute(AttrKind Val) const {
   return pImpl && pImpl->hasAttribute(Val);
 }





More information about the llvm-commits mailing list