aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-10-17 19:03:23 +0000
committerJessica Paquette <jpaquette@apple.com>2017-10-17 19:03:23 +0000
commit85af63d0448cfac7d4824dd054b64cdf2cdc6080 (patch)
treef27f4d4c30d41acf794e3729f306d0f9091e3469 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentc9ab4c263422a86a77da0d2b4dbcc2e56ff540dc (diff)
downloadllvm-85af63d0448cfac7d4824dd054b64cdf2cdc6080.zip
llvm-85af63d0448cfac7d4824dd054b64cdf2cdc6080.tar.gz
llvm-85af63d0448cfac7d4824dd054b64cdf2cdc6080.tar.bz2
[MachineOutliner][NFC] Move decrement logic to OutlinedFunction
This commit moves the decrement logic for outlined functions into the class, and makes OccurrenceCount private. It can now be accessed via getOccurrenceCount(). This makes it more difficult to accidentally introduce bugs by incorrectly decrementing the occurrence count on OutlinedFunctions. llvm-svn: 316020
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions