[llvm-commits] [llvm] r170368 - in /llvm/trunk/include/llvm: Function.h IntrinsicInst.h
Michael Ilseman
milseman at apple.com
Mon Dec 17 12:40:14 PST 2012
Author: milseman
Date: Mon Dec 17 14:40:14 2012
New Revision: 170368
URL: http://llvm.org/viewvc/llvm-project?rev=170368&view=rev
Log:
Remove trailing whitespace
Modified:
llvm/trunk/include/llvm/Function.h
llvm/trunk/include/llvm/IntrinsicInst.h
Modified: llvm/trunk/include/llvm/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Function.h?rev=170368&r1=170367&r2=170368&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Function.h (original)
+++ llvm/trunk/include/llvm/Function.h Mon Dec 17 14:40:14 2012
@@ -89,7 +89,7 @@
// HasLazyArguments is stored in Value::SubclassData.
/*bool HasLazyArguments;*/
-
+
// The Calling Convention is stored in Value::SubclassData.
/*CallingConv::ID CallingConvention;*/
@@ -131,7 +131,7 @@
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 @@
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 @@
/// 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 @@
/// 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 @@
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);
Modified: llvm/trunk/include/llvm/IntrinsicInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IntrinsicInst.h?rev=170368&r1=170367&r2=170368&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IntrinsicInst.h (original)
+++ llvm/trunk/include/llvm/IntrinsicInst.h Mon Dec 17 14:40:14 2012
@@ -54,7 +54,7 @@
return isa<CallInst>(V) && classof(cast<CallInst>(V));
}
};
-
+
/// DbgInfoIntrinsic - This is the common base class for debug info intrinsics
///
class DbgInfoIntrinsic : public IntrinsicInst {
More information about the llvm-commits
mailing list