aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-23 18:50:16 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-23 18:50:16 +0000
commitfa5b013d48ac2da63eaaa6627291c649752e5ade (patch)
treee05786d26bb590c9f4af789aa72c2dec81746cd9 /clang/lib/Basic/Module.cpp
parente9591b33e29cf72c6b3bab60d9625c706dc00d87 (diff)
downloadllvm-fa5b013d48ac2da63eaaa6627291c649752e5ade.zip
llvm-fa5b013d48ac2da63eaaa6627291c649752e5ade.tar.gz
llvm-fa5b013d48ac2da63eaaa6627291c649752e5ade.tar.bz2
ProfileData: Avoid unnecessary copies of CounterData
We're currently copying CounterData from InstrProfWriter into the OnDiskHashTable, even though we don't need to, and then carelessly leaking those copies. A const pointer is much better here. llvm-svn: 207009
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions