[cfe-users] clang-format: break before brace in multiline conditionals

2019-08-01 Thread Nikos Chantziaras via cfe-users
Is there a way to make clang-format either add a line break before the brace in this case, or at least indent the continuation line by a higher amount of spaces than normal? This is my issue: if (auto it = files_by_name_.find(file_name); it != files_by_name_.end()) { file_name =

Re: [cfe-users] AST Recursive Visitor- Statements (Stmt *)

2019-08-01 Thread Richard Trieu via cfe-users
Adding back the mailing list. Please reply all to keep the discussion on the mailing list. On Thu, Aug 1, 2019 at 2:47 PM Ayush Mittal wrote: > Thanks Richard for the explanation. Really appreciate it. > One quick question, Within VisitStmt (BinaryOperator) how could I get an > access to DeclRe