aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-02-10 16:10:42 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-02-10 16:10:42 +0000
commit78c135942da5cff2829cbb422549218294b15a5f (patch)
treee5ee72da66bdac374ab5c21b7f736c62e14e72fc /llvm/lib/CodeGen/StackMaps.cpp
parentbcde0c49cb09dcff7c7da5ebca7e03983ffd5399 (diff)
downloadllvm-78c135942da5cff2829cbb422549218294b15a5f.zip
llvm-78c135942da5cff2829cbb422549218294b15a5f.tar.gz
llvm-78c135942da5cff2829cbb422549218294b15a5f.tar.bz2
Host: unconstify editline paramters
Although the interface to el_push should be a constant parameter (as it is on Darwin), certain Linux distributions currently ship a header which does not provide proper const correctness. This causes compilation failures on Linux. Strip the constness on the parameter, which whilst incorrect, is mostly harmless. The parameter will not be changed by the interface and so it is acceptable to do this. When distributions have updated to a more correct declaration, it would be nice to revert this change. Addresses PR18784. llvm-svn: 201092
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions