aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 02:09:34 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 02:09:34 +0000
commit15596d68d1cf6f7cfe0c9ee20b0ca104dbb438df (patch)
tree1ffc54513bcb6f8419fa1f9064ebbf7e75cdc723 /include
parent04560145f4c76d1a430be393660e440b8d088228 (diff)
downloadexternal_llvm-15596d68d1cf6f7cfe0c9ee20b0ca104dbb438df.zip
external_llvm-15596d68d1cf6f7cfe0c9ee20b0ca104dbb438df.tar.gz
external_llvm-15596d68d1cf6f7cfe0c9ee20b0ca104dbb438df.tar.bz2
Fixing an comment in Module.h that refers to a nonexistent parameter.
Also adding some missing svn:ignores that've been bothering me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Module.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 9bd02ec..02adcb2 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -215,11 +215,9 @@ public:
/// @{
public:
/// getGlobalVariable - Look up the specified global variable in the module
- /// symbol table. If it does not exist, return null. The type argument
- /// should be the underlying type of the global, i.e., it should not have
- /// the top-level PointerType, which represents the address of the global.
- /// If AllowInternal is set to true, this function will return types that
- /// have InternalLinkage. By default, these types are not returned.
+ /// symbol table. If it does not exist, return null. If AllowInternal is set
+ /// to true, this function will return types that have InternalLinkage. By
+ /// default, these types are not returned.
GlobalVariable *getGlobalVariable(const std::string &Name,
bool AllowInternal = false) const;