summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2018-11-20 08:53:30 +0000
committerBill Wendling <isanbard@gmail.com>2018-11-20 08:53:30 +0000
commitdafd68092ceda14b5b4a24fabef35bec783876a7 (patch)
treef4e1e4c0dd0943065338a25387fb4372011b33db /include/clang/Basic/SourceManager.h
parent9b9f33d2fa56d4637b1da517d34f65e512c578b1 (diff)
Use is.constant intrinsic for __builtin_constant_p
Summary: A __builtin_constant_p may end up with a constant after inlining. Use the is.constant intrinsic if it's a variable that's in a context where it may resolve to a constant, e.g., an argument to a function after inlining. Reviewers: rsmith, shafik Subscribers: jfb, kristina, cfe-commits, nickdesaulniers, jyknight Differential Revision: https://reviews.llvm.org/D54355 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
0 files changed, 0 insertions, 0 deletions