[PATCH] D73543: [clang] Add support for __builtin_memcpy_inline
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 14:45:53 PST 2020
efriedma added inline comments.
================
Comment at: clang/lib/Sema/SemaChecking.cpp:1655
+ TheCall->getArg(2)->isIntegerConstantExpr(I, Context);
+ if (I.isNullValue())
+ break;
----------------
You can EvaluateKnownConstInt here, instead of isIntegerConstantExpr.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73543/new/
https://reviews.llvm.org/D73543
More information about the llvm-commits
mailing list