[PATCH] D99893: [WIP] Replace std::forward & std::move by cast expressions during Sema
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 6 12:21:25 PDT 2021
rjmccall added a comment.
Our builtin logic is capable of recognizing user declarations as builtins without any sort of explicit annotation in source. That's how we recognize C library builtins, for example. As Richard points out, that logic isn't really set up to do the right thing for namespaced declarations (or template ones, for that matter), but that seems fixable.
The namespace issue might be annoying because of the inline namespaces that some standard libraries used for ABI versioning.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99893/new/
https://reviews.llvm.org/D99893
More information about the cfe-commits
mailing list