]> granicus.if.org Git - clang/commit
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)
commit7da527a5834666f101aead891a799699b28ec340
treee9b9fbe8c7b2b70d4f2d930da31a905f0f8802f6
parent5c688ad49cdb85539cbe779accf953f16dab77b2
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212497 91177308-0d34-0410-b5e6-96231b3b80d8
tools/libclang/CIndex.cpp
tools/libclang/Indexing.cpp