summaryrefslogtreecommitdiffstats
path: root/clang/docs/LibASTMatchersReference.html
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-07 17:00:19 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-07 17:00:19 +0000
commit1919317929a0f623f1bcfe1721e480556c9fdc62 (patch)
tree70fe643df35fe0cb217fd0d6723b82231ad50a07 /clang/docs/LibASTMatchersReference.html
parent0e8dd4a80e74e9989fee27bdf13ea6d3589255f9 (diff)
downloadbcm5719-llvm-1919317929a0f623f1bcfe1721e480556c9fdc62.tar.gz
bcm5719-llvm-1919317929a0f623f1bcfe1721e480556c9fdc62.zip
Support: Remove needless allocation when getMainExecutable() calls readlink()
We built a StringRef from a string literal which we then converted to a std::string to call c_str(). Just use a pointer to the string literal instead of a StringRef. No behavior change. Differential Revision: https://reviews.llvm.org/D65890 llvm-svn: 368187
Diffstat (limited to 'clang/docs/LibASTMatchersReference.html')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud