[Tooling] Added DeclStmtClass to ExtractionSemicolonPolicySince the DeclStmt range includes the semicolon, it doesn't need asemicolon at the end during extractionllvm-svn: 368850
[Refactor] Moving SourceExtraction header from lib to includeSummary:- Moved the SourceExtraction header from lib to include so that it can be used in clangd.Reviewers: arphamanSubscribers: il
[Refactor] Moving SourceExtraction header from lib to includeSummary:- Moved the SourceExtraction header from lib to include so that it can be used in clangd.Reviewers: arphamanSubscribers: ilya-biryukov, dexonsmith, kadircet, cfe-commitsTags: #clangDifferential Revision: https://reviews.llvm.org/D65878llvm-svn: 368743
show more ...
[Extract] Fixed SemicolonExtractionPolicy for SwitchStmt and SwitchCaseReviewers: arphaman, sammccallSubscribers: dexonsmith, cfe-commitsTags: #clangDifferential Revision: https://reviews.llv
[Extract] Fixed SemicolonExtractionPolicy for SwitchStmt and SwitchCaseReviewers: arphaman, sammccallSubscribers: dexonsmith, cfe-commitsTags: #clangDifferential Revision: https://reviews.llvm.org/D65883llvm-svn: 368267
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the ne
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the new license. We checked this carefully with theFoundation's lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351636
Port getLocEnd -> getEndLocReviewers: teemperor!Subscribers: cfe-commitsDifferential Revision: https://reviews.llvm.org/D50351llvm-svn: 339386
Port getLocStart -> getBeginLocReviewers: teemperor!Subscribers: jholewinski, whisperity, jfb, cfe-commitsDifferential Revision: https://reviews.llvm.org/D50350llvm-svn: 339385
Remove \brief commands from doxygen comments.This is similar to the LLVM change https://reviews.llvm.org/D46290.We've been running doxygen with the autobrief option for a couple ofyears now. Thi
Remove \brief commands from doxygen comments.This is similar to the LLVM change https://reviews.llvm.org/D46290.We've been running doxygen with the autobrief option for a couple ofyears now. This makes the \brief markers into our commentsredundant. Since they are a visual distraction and we don't want toencourage more \brief markers in new code either, this patch removesthem all.Patch produced byfor i in $(git grep -l '\@brief'); do perl -pi -e 's/\@brief //g' $i & donefor i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & doneDifferential Revision: https://reviews.llvm.org/D46320llvm-svn: 331834
Move Extract.cpp that wasn't moved in r317343llvm-svn: 317344
[refactor][extract] insert semicolons into extracted/inserted codewhen neededThis commit implements the semicolon insertion logic into the extractrefactoring. The following rules are used:- ext
[refactor][extract] insert semicolons into extracted/inserted codewhen neededThis commit implements the semicolon insertion logic into the extractrefactoring. The following rules are used:- extracting expression: add terminating ';' to the extracted function.- extracting statements that don't require terminating ';' (e.g. switch): add terminating ';' to the callee.- extracting statements with ';': move (if possible) the original ';' from the callee and add terminating ';'.- otherwise, add ';' to both places.Differential Revision: https://reviews.llvm.org/D39441llvm-svn: 317343