]> granicus.if.org Git - clang/commit
[Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy
authorShaurya Gupta <shauryab98@gmail.com>
Wed, 14 Aug 2019 13:37:39 +0000 (13:37 +0000)
committerShaurya Gupta <shauryab98@gmail.com>
Wed, 14 Aug 2019 13:37:39 +0000 (13:37 +0000)
commit62741b0ffdf6874c069ac9f040705e8def785751
treeae8d2b55ce683682c89041731b876f807e12401c
parent39b5f65011af82077a1c8b05ce0995488c2e9dd9
[Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy

Since the DeclStmt range includes the semicolon, it doesn't need a
semicolon at the end during extraction

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
test/Refactor/Extract/ExtractionSemicolonPolicy.cpp