libclang: pass return code out argument by reference
authorAlp Toker <alp@nuanti.com>
Mon, 7 Jul 2014 22:42:03 +0000 (22:42 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 7 Jul 2014 22:42:03 +0000 (22:42 +0000)
commit5c53298c1eca22b512c43b2cf02e5e9f05c136a1
tree686188b5db3b631df296afdcb178f3d2a5f9de6f
parent98ac7d2d35fe032497142aa1a5905f49e6414929
libclang: pass return code out argument by reference

r212427 formalized the message-passing pattern by making these argument
structures const. This commit changes output arguments to get passed by
reference so we can eliminate mutable fields.

llvm-svn: 212497
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/Indexing.cpp