aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Rewrite/Rewriter.cpp
AgeCommit message (Expand)AuthorFilesLines
2023-12-13[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)Kazu Hirata1-2/+2
2023-12-05[clang][tidy] Ensure rewriter has the correct CWD (#67839)Jan Svoboda1-6/+7
2023-09-06Partially revert "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"Jan Svoboda1-1/+1
2023-09-06[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`Jan Svoboda1-1/+1
2023-07-03[Tooling][Rewriter] Remove the redundant AtomicallyMovedFile Implementation.Haojian Wu1-64/+13
2022-01-25Add assert on End iteration distance to Rewriter::getRewrittenText.Ashley Hedberg1-0/+1
2021-10-21[clang] Use StringRef::contains (NFC)Kazu Hirata1-1/+1
2020-10-23SourceManager: Clarify that FileInfo always has a ContentCache, NFCDuncan P. N. Exon Smith1-4/+4
2019-08-15[Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bugJoel E. Denny1-0/+11
2019-07-06[Rewrite] Extend to further accept CharSourceRangeJoel E. Denny1-3/+6
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-3/+3
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl1-1/+1
2018-03-27[Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnin...Eugene Zelenko1-17/+23
2015-07-28Make local function isWhitespaceExceptNL static instead of in anonymous names...Yaron Keren1-3/+1
2015-07-27Rename highly-confusing isWhitespace that returns false on \n toYaron Keren1-17/+13
2015-03-08[Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it.Argyrios Kyrtzidis1-1/+1
2014-10-29Trim some includes. NFC.Hans Wennborg1-2/+1
2014-10-26Delete unused method and clangAST dependency it required.Daniel Jasper1-9/+0
2014-10-23Remove code duplication and cut dependency from clangRewrite onDaniel Jasper1-21/+0
2014-07-16Make clang's rewrite engine a core featureAlp Toker1-0/+495
2012-09-01Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.Ted Kremenek1-486/+0
2012-06-15Documentation cleanup: Escaped backslashes in Doxygen comments.James Dennett1-1/+1
2012-05-27clang/lib/Rewrite/Rewriter.cpp: Don't try to rename opened files on Win32. Wi...NAKAMURA Takumi1-0/+4
2012-05-22Adds a method overwriteChangedFiles to the Rewriter. This is implemented byManuel Klimek1-1/+69
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith1-1/+1
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer1-0/+1
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-15/+10
2011-06-15Automatic Reference Counting.John McCall1-26/+47
2011-04-20Use S.str() to force a flush.Fariborz Jahanian1-3/+1
2011-04-20Be sure to flush raw_string_ostream objects in the Objective-CDouglas Gregor1-0/+2
2011-04-16Introduce Rewriter::IncreaseIndentation() which increase indentations for the...Argyrios Kyrtzidis1-0/+83
2011-04-13Collect the options applicable to the Rewriter methods into a RewriterOptions...Argyrios Kyrtzidis1-8/+10
2011-04-11Fixup more objc rwriter bug having to do withFariborz Jahanian1-0/+7
2011-04-07Enhance the Rewriter.Argyrios Kyrtzidis1-7/+76
2010-07-14Pass StringRefs by value.Benjamin Kramer1-4/+4
2010-06-18introduce a new CharSourceRange class, and enhance the diagnostics routinesChris Lattner1-3/+9
2010-04-16Add a write(raw_ostream&) method to RewriteBuffer. This uses an inefficientNick Lewycky1-2/+6
2010-03-16Let SourceManager::getBufferData return StringRef instead of a pair of two co...Benjamin Kramer1-2/+2
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor1-12/+1
2010-03-15Add some <cstdio> includes to unbreak the buildbotsDouglas Gregor1-0/+1
2010-03-15Introduce a new BufferResult class to act as the return type ofDouglas Gregor1-1/+11
2010-02-05Some clean up of replacement text API no longer needed byFariborz Jahanian1-3/+2
2010-01-28Fixes a rewrite bug rewriting nested ivars reference.Fariborz Jahanian1-2/+3
2010-01-07Fix typo: rename Rewriter::getRewritenText() -> Rewriter::getRewrittenText().Ted Kremenek1-2/+2
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-22/+22
2009-08-19Convert parts of Rewriter to StringRef based API.Daniel Dunbar1-16/+14
2009-06-30Key decisions about 'bool' vs '_Bool' to be based on a new flag in langoptions.Chris Lattner1-1/+1
2009-05-18Fix for PR2386: distinguish between insertion and replacements in the Eli Friedman1-4/+4
2009-04-14Change Lexer::MeasureTokenLength to take a LangOptions reference.Chris Lattner1-3/+3