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:
807117d
)
Constify check. This fixes PR3900.
author
Bill Wendling
<isanbard@gmail.com>
Sun, 29 Mar 2009 20:08:56 +0000
(20:08 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Sun, 29 Mar 2009 20:08:56 +0000
(20:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68013
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 12eb3a5f7a5744e7548ccfed04bc945117ff82d8..4a7c8c81196edb0b10b78d9de226504e4ab587a3 100644
(file)
--- a/
include/llvm/Support/CommandLine.h
+++ b/
include/llvm/Support/CommandLine.h
@@
-744,7
+744,7
@@
template<class DataType, bool ExternalStorage, bool isClass>
class opt_storage {
DataType *Location; // Where to store the object...
- void check() {
+ void check()
const
{
assert(Location != 0 && "cl::location(...) not specified for a command "
"line option with external storage, "
"or cl::init specified before cl::location()!!");