summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-16 06:10:45 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-16 06:10:45 +0000
commitf3d1500ab2c7364d3d0fb73a7e1b8c6339ab48b1 (patch)
tree470ebc1cf0b533edb3fe494386580e7c28cd63c8
parente3f7be36c75ddcafb24b52c36c55c3dc17215db3 (diff)
downloadllvm-f3d1500ab2c7364d3d0fb73a7e1b8c6339ab48b1.tar.gz
llvm-f3d1500ab2c7364d3d0fb73a7e1b8c6339ab48b1.tar.bz2
llvm-f3d1500ab2c7364d3d0fb73a7e1b8c6339ab48b1.tar.xz
Cleanup whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166016 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Attributes.h10
-rw-r--r--lib/VMCore/Attributes.cpp3
2 files changed, 7 insertions, 6 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 345277560f..a28aa18347 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -34,15 +34,15 @@ public:
/// should be treated by optimizations and code generation. This enumeration
/// lists the attributes that can be associated with parameters, function
/// results or the function itself.
- ///
+ ///
/// Note that uwtable is about the ABI or the user mandating an entry in the
/// unwind table. The nounwind attribute is about an exception passing by the
/// function.
- ///
+ ///
/// In a theoretical system that uses tables for profiling and sjlj for
/// exceptions, they would be fully independent. In a normal system that uses
/// tables for both, the semantics are:
- ///
+ ///
/// nil = Needs an entry because an exception might pass by.
/// nounwind = No need for an entry
/// uwtable = Needs an entry because the ABI says so and because
@@ -395,8 +395,6 @@ public:
bool operator!=(const AttrListPtr &RHS) const
{ return AttrList != RHS.AttrList; }
- void dump() const;
-
//===--------------------------------------------------------------------===//
// Attribute List Introspection
//===--------------------------------------------------------------------===//
@@ -426,6 +424,8 @@ public:
/// holds a index number plus a set of attributes.
const AttributeWithIndex &getSlot(unsigned Slot) const;
+ void dump() const;
+
private:
explicit AttrListPtr(AttributeListImpl *L);
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp
index c79d000685..4f55fb203b 100644
--- a/lib/VMCore/Attributes.cpp
+++ b/lib/VMCore/Attributes.cpp
@@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the AttributesList class and Attribute utilities.
+// This file implements the Attributes, AttributeImpl, AttrBuilder,
+// AttributeListImpl, and AttrListPtr classes.
//
//===----------------------------------------------------------------------===//