[cfe-users] Template specialization locations

2020-05-06 Thread Romulo via cfe-users
Hi there, Is there a way to find where TemplateTypeParmDecl are (SourceRange) in a FunctionDecl? I'm trying to find every place in the AST where a custom template type is used. Thanks! ___ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llv

[cfe-users] Compiling C++ 20 Example from 24.6.4.1 [range.istream.overview] produces errors with libstdc++ 10

2020-05-06 Thread Ray Lischner via cfe-users
I am using clang++ 10 with GCC libstdc++ 10 prerelease. I tried compiling the example from section 24.6.4.1 [range.istream.overview]. It works with g++ 10 but with clang++ 10 -std=c++20, I get constraint-failure errors. program: #include #include #include #include #include int main() {