Re: [cfe-users] Missing AST Node for parsing code with std::vector::data()

2020-12-03 Thread David Blaikie via cfe-users
You might need to provide more details - at least a cursory example shows the function call in the ast dump: https://godbolt.org/z/zvqTa3 On Thu, Dec 3, 2020 at 4:02 AM Владимир Фролов via cfe-users < cfe-users@lists.llvm.org> wrote: > Greetings! I'm using clang for source-to-source translation.

[cfe-users] Missing AST Node for parsing code with std::vector::data()

2020-12-03 Thread Владимир Фролов via cfe-users
Greetings! I'm using clang for source-to-source translation. Recently I got a problem with parsing code which use templates.First, here is the working example: struct MyTestVector2{ unsigned int _data[6]; unsigned int * data() { return &_data[0]; }};... MyTestVector2 testData2;kernel_TestColor(&hit