aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2012-12-17 20:40:14 +0000
committerMichael Ilseman <milseman@apple.com>2012-12-17 20:40:14 +0000
commitf3ceaff6395afe9a62db08b483742b0416f63a1a (patch)
tree228b5a4969a98ececd5ef189706cf2a31ab65051
parent0f47e7e01928a4e16f773dc4db14a800d148bfc8 (diff)
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170368 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Function.h16
-rw-r--r--include/llvm/IntrinsicInst.h2
2 files changed, 9 insertions, 9 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index b49b8c1457..6edc660c9c 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -89,7 +89,7 @@ private:
// HasLazyArguments is stored in Value::SubclassData.
/*bool HasLazyArguments;*/
-
+
// The Calling Convention is stored in Value::SubclassData.
/*CallingConv::ID CallingConvention;*/
@@ -131,7 +131,7 @@ public:
Type *getReturnType() const; // Return the type of the ret val
FunctionType *getFunctionType() const; // Return the FunctionType for me
- /// getContext - Return a pointer to the LLVMContext associated with this
+ /// getContext - Return a pointer to the LLVMContext associated with this
/// function, or NULL if this function is not bound to a context yet.
LLVMContext &getContext() const;
@@ -159,7 +159,7 @@ public:
setValueSubclassData((getSubclassDataFromValue() & 1) |
(static_cast<unsigned>(CC) << 1));
}
-
+
/// getAttributes - Return the attribute list for this Function.
///
const AttributeSet &getAttributes() const { return AttributeList; }
@@ -176,15 +176,15 @@ public:
/// addFnAttr - Add function attributes to this function.
///
- void addFnAttr(Attributes::AttrVal N) {
- // Function Attributes are stored at ~0 index
+ void addFnAttr(Attributes::AttrVal N) {
+ // Function Attributes are stored at ~0 index
addAttribute(AttributeSet::FunctionIndex, Attributes::get(getContext(), N));
}
/// removeFnAttr - Remove function attributes from this function.
///
void removeFnAttr(Attributes N) {
- // Function Attributes are stored at ~0 index
+ // Function Attributes are stored at ~0 index
removeAttribute(~0U, N);
}
@@ -208,7 +208,7 @@ public:
/// addAttribute - adds the attribute to the list of attributes.
void addAttribute(unsigned i, Attributes attr);
-
+
/// removeAttribute - removes the attribute from the list of attributes.
void removeAttribute(unsigned i, Attributes attr);
@@ -264,7 +264,7 @@ public:
return hasUWTable() || !doesNotThrow();
}
- /// @brief Determine if the function returns a structure through first
+ /// @brief Determine if the function returns a structure through first
/// pointer argument.
bool hasStructRetAttr() const {
return getParamAttributes(1).hasAttribute(Attributes::StructRet);
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h
index 9b2afd56e0..d5d27e6998 100644
--- a/include/llvm/IntrinsicInst.h
+++ b/include/llvm/IntrinsicInst.h
@@ -54,7 +54,7 @@ namespace llvm {
return isa<CallInst>(V) && classof(cast<CallInst>(V));
}
};
-
+
/// DbgInfoIntrinsic - This is the common base class for debug info intrinsics
///
class DbgInfoIntrinsic : public IntrinsicInst {