diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-01-10 20:12:16 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-01-10 20:12:16 +0000 |
commit | 0a8485643114f0dcb0b1cd037d18872b43464888 (patch) | |
tree | 0bc4034cd8f4f49055bd972dbf99d26f680b0781 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 0f36e2354001754807c670ab9d562551a8a2175b (diff) | |
download | llvm-0a8485643114f0dcb0b1cd037d18872b43464888.zip llvm-0a8485643114f0dcb0b1cd037d18872b43464888.tar.gz llvm-0a8485643114f0dcb0b1cd037d18872b43464888.tar.bz2 |
[Sema] Call CheckPlaceholderExpr to resolve typeof or decltype
placeholder expressions while an unevaluated context is still on the
expression evaluation context stack.
This prevents recordUseOfWeek from being called when a weak variable is
used as an operand of a decltype or a typeof expression and fixes
spurious -Warc-repeated-use-of-weak warnings.
rdar://problem/45742525
Differential Revision: https://reviews.llvm.org/D55662
llvm-svn: 350887
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions