summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h
index b8d505761f..edca08c46f 100644
--- a/include/llvm/Assembly/Parser.h
+++ b/include/llvm/Assembly/Parser.h
@@ -80,7 +80,7 @@ public:
// ParserOptions in effect. If positional information is not applicable,
// these will return a value of -1.
//
- inline const void getErrorLocation(int &Line, int &Column) const {
+ inline void getErrorLocation(int &Line, int &Column) const {
Line = LineNo; Column = ColumnNo;
}