diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-16 06:10:45 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-16 06:10:45 +0000 |
commit | 118a78b977d79e85c7f18f6c0a4d4d229d8303e9 (patch) | |
tree | f4a9dfbb19c0e692eb07f5d15bea7618ce0ea2d3 /llvm | |
parent | 04b8daa9708751750b80c1ee61320e111e739e37 (diff) | |
download | bcm5719-llvm-118a78b977d79e85c7f18f6c0a4d4d229d8303e9.tar.gz bcm5719-llvm-118a78b977d79e85c7f18f6c0a4d4d229d8303e9.zip |
Cleanup whitespace.
llvm-svn: 166016
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Attributes.h | 10 | ||||
-rw-r--r-- | llvm/lib/VMCore/Attributes.cpp | 3 |
2 files changed, 7 insertions, 6 deletions
diff --git a/llvm/include/llvm/Attributes.h b/llvm/include/llvm/Attributes.h index 345277560f5..a28aa183473 100644 --- a/llvm/include/llvm/Attributes.h +++ b/llvm/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/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp index c79d0006857..4f55fb203bd 100644 --- a/llvm/lib/VMCore/Attributes.cpp +++ b/llvm/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. // //===----------------------------------------------------------------------===// |