diff options
Diffstat (limited to 'llvm/lib/AsmParser/ParserInternals.h')
| -rw-r--r-- | llvm/lib/AsmParser/ParserInternals.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/AsmParser/ParserInternals.h b/llvm/lib/AsmParser/ParserInternals.h index ae446026149..1f6bafce150 100644 --- a/llvm/lib/AsmParser/ParserInternals.h +++ b/llvm/lib/AsmParser/ParserInternals.h @@ -86,7 +86,7 @@ struct ValID {      ValID D; D.Type = 5; D.ConstPoolFP = Val; return D;    } -  inline void destroy() { +  inline void destroy() const {      if (Type == 1 || Type == 4) free(Name);  // Free this strdup'd memory...    } | 

