aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commit04bdf20ec1da00891e9903847613574c6f0505d2 (patch)
tree1ffc54513bcb6f8419fa1f9064ebbf7e75cdc723 /include/llvm
parente3bfb888988b48934e1ed96d879f918a8b29f446 (diff)
downloadexternal_llvm-04bdf20ec1da00891e9903847613574c6f0505d2.zip
external_llvm-04bdf20ec1da00891e9903847613574c6f0505d2.tar.gz
external_llvm-04bdf20ec1da00891e9903847613574c6f0505d2.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/llvm')
-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;