aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-07-06 23:13:38 +0000
committerChad Rosier <mcrosier@apple.com>2012-07-06 23:13:38 +0000
commit70cfaa34645bf8ad232c400f0fe7c48a9d715586 (patch)
treea18b6855ead80d367a0f52e0a96f4625fb742b5a /include/llvm/CodeGen/MachineFunction.h
parent9969458b1673648394fce3f50f3f4a84071c7ca7 (diff)
Fix the naming of ensureAlignment. Per the coding standard function names
should be camel case, and start with a lower case letter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index dda2dc7087..062c7508c4 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -189,8 +189,8 @@ public:
///
void setAlignment(unsigned A) { Alignment = A; }
- /// EnsureAlignment - Make sure the function is at least 1 << A bytes aligned.
- void EnsureAlignment(unsigned A) {
+ /// ensureAlignment - Make sure the function is at least 1 << A bytes aligned.
+ void ensureAlignment(unsigned A) {
if (Alignment < A) Alignment = A;
}