[cfe-users] Reading and Attaching Comments to CLANG AST

2018-02-28 Thread Bewoayia Kebianyor via cfe-users
Hello, I am new to Clang, LLVM and have some questions regarding attaching comments to the clang AST. I would like to parse a C/C++ file and get preceeding comments to variable declarations and attach these to the AST. The comments are annotations of model objects in the source code. I need to

[cfe-users] Reading and Attaching Comments to CLANG AST

2018-03-07 Thread Bewoayia Kebianyor via cfe-users
someone please provide me with more clarification on this? Why do I always get nullptr for getRawCommentForDeclNoCache(VarDecl). Where to pass this option. Thanks inadvance, Bewoayia -"cfe-users" schrieb: - An: cfe-users@lists.llvm.org Von: Bewoayia Kebianyor via cfe-users