[cfe-users] RecursiveASTVisitor won't visit all declarations in the AST

2019-01-31 Thread Teodor Dermendzhiev via cfe-users
Hi all, I am having problems walking through the syntax tree of a simple header file. With llvm 4.0.1 everything works as expected but after upgrading to 7.0.0 I notice that just a small number of all declarations in the AST are being visited. Running a simple ASTFrontendAction (like the one f

[cfe-users] why is lldb unable to debug any gcc -O$n compiled code, what can be done about it

2019-01-31 Thread Jason Vas Dias via cfe-users
Good day - I have to use a MacOSX 10.14.3 (mojave) laptop for work, and am having issues adjusting after having used mostly Linux and UNIX over the past 20 years. Chief among them is the inability to debug any code I build - which usually is optimized in some way with a -O[0-3] gcc fla