[PATCH] D71082: Allow system header to provide their own implementation of some builtin
serge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 10:25:21 PST 2019
serge-sans-paille updated this revision to Diff 232894.
serge-sans-paille added a comment.
- Be less intrusive in the getBuiltinID() system, just hook inside CGExpr.cpp
- Take into account @george.burgess.iv remark on builtins referencing themselves in an override. Add a test case for that scenario.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71082/new/
https://reviews.llvm.org/D71082
Files:
clang/include/clang/AST/Decl.h
clang/lib/AST/Decl.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGen/memcpy-nobuiltin.c
clang/test/CodeGen/memcpy-nobuiltin.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71082.232894.patch
Type: text/x-patch
Size: 4189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191209/f83512e3/attachment.bin>
More information about the cfe-commits
mailing list