projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7980ea4
)
Make a const method const
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Dec 2004 05:17:34 +0000
(
05:17
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 5 Dec 2004 05:17:34 +0000
(
05:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18524
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CommandLine.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CommandLine.h
b/include/llvm/Support/CommandLine.h
index 3b4eda587aa2aed432bc280354c216cad9fd2d68..d3023e5cb360dba29eac038d128b064846cf4bdc 100644
(file)
--- a/
include/llvm/Support/CommandLine.h
+++ b/
include/llvm/Support/CommandLine.h
@@
-915,7
+915,7
@@
class list : public Option, public list_storage<DataType, Storage> {
public:
ParserClass &getParser() { return Parser; }
- unsigned getPosition(unsigned optnum) {
+ unsigned getPosition(unsigned optnum)
const
{
assert(optnum < this->size() && "Invalid option index");
return Positions[optnum];
}