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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to