aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2020-10-18 13:34:41 +0200
committerMark de Wever <koraq@xs4all.nl>2020-10-18 13:48:42 +0200
commit2bcda6bb2896f0f8daf67343edfc64fb226f3e3f (patch)
treef606041cb0f082b30bd0cfd2bf4a2c3b6cb04234 /llvm/lib/Object/COFFObjectFile.cpp
parent7081db99eee0123f955ab01e550bdfdfce606dd2 (diff)
downloadllvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.zip
llvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.tar.gz
llvm-2bcda6bb2896f0f8daf67343edfc64fb226f3e3f.tar.bz2
[Sema, CodeGen] Implement [[likely]] and [[unlikely]] in SwitchStmt
This implements the likelihood attribute for the switch statement. Based on the discussion in D85091 and D86559 it only handles the attribute when placed on the case labels or the default labels. It also marks the likelihood attribute as feature complete. There are more QoI patches in the pipeline. Differential Revision: https://reviews.llvm.org/D89210
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions