aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-11 10:09:10 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-09-11 10:44:42 +0100
commit70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1 (patch)
treec8eed10d4e36225be955115077ed21d953847922 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentff77d165a8161705c8ec3bb3ced2711dce297699 (diff)
downloadllvm-70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1.zip
llvm-70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1.tar.gz
llvm-70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1.tar.bz2
[X86] Keep variables from getDataLayout/getDebugLoc calls as const reference. NFCI.
These are only ever used as references in the called functions, so just pass the original reference instead of copying it.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions