aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-12-30 20:21:55 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-12-30 20:21:55 +0000
commita9de3fa8a9c22dd419eda9be53e8c7c428cce1c0 (patch)
tree0cec3d754618cd986996eade4202ea0de53e530a /lib/CodeGen/CGDecl.cpp
parent5389f48b24937ad7b4093307128b3cbf25235654 (diff)
Correct function name in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r--lib/CodeGen/CGDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp
index de4cca3a28..2c54332185 100644
--- a/lib/CodeGen/CGDecl.cpp
+++ b/lib/CodeGen/CGDecl.cpp
@@ -591,7 +591,7 @@ static bool shouldUseMemSetPlusStoresToInitialize(llvm::Constant *Init,
}
-/// EmitLocalVarDecl - Emit code and set up an entry in LocalDeclMap for a
+/// EmitAutoVarDecl - Emit code and set up an entry in LocalDeclMap for a
/// variable declaration with auto, register, or no storage class specifier.
/// These turn into simple stack objects, or GlobalValues depending on target.
void CodeGenFunction::EmitAutoVarDecl(const VarDecl &D,