summaryrefslogtreecommitdiff
path: root/clang/lib/Rewrite/Rewriter.cpp
AgeCommit message (Expand)Author
2025-06-26[clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation...Haojian Wu
2024-08-18[llvm][clang] Move RewriterBuffer to ADT. (#99770)Jacques Pienaar
2023-12-13[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)Kazu Hirata
2023-12-05[clang][tidy] Ensure rewriter has the correct CWD (#67839)Jan Svoboda
2023-09-06Partially revert "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"Jan Svoboda
2023-09-06[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`Jan Svoboda
2023-07-03[Tooling][Rewriter] Remove the redundant AtomicallyMovedFile Implementation.Haojian Wu
2022-01-25Add assert on End iteration distance to Rewriter::getRewrittenText.Ashley Hedberg
2021-10-21[clang] Use StringRef::contains (NFC)Kazu Hirata
2020-10-23SourceManager: Clarify that FileInfo always has a ContentCache, NFCDuncan P. N. Exon Smith
2019-08-15[Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bugJoel E. Denny
2019-07-06[Rewrite] Extend to further accept CharSourceRangeJoel E. Denny
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2018-07-30Remove trailing spaceFangrui Song
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl
2018-03-27[Edit, Rewrite] Fix some Clang-tidy modernize and Include What You Use warnin...Eugene Zelenko
2015-07-28Make local function isWhitespaceExceptNL static instead of in anonymous names...Yaron Keren
2015-07-27Rename highly-confusing isWhitespace that returns false on \n toYaron Keren
2015-03-08[Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it.Argyrios Kyrtzidis
2014-10-29Trim some includes. NFC.Hans Wennborg
2014-10-26Delete unused method and clangAST dependency it required.Daniel Jasper
2014-10-23Remove code duplication and cut dependency from clangRewrite onDaniel Jasper
2014-07-16Make clang's rewrite engine a core featureAlp Toker
2012-09-01Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.Ted Kremenek
2012-06-15Documentation cleanup: Escaped backslashes in Doxygen comments.James Dennett
2012-05-27clang/lib/Rewrite/Rewriter.cpp: Don't try to rename opened files on Win32. Wi...NAKAMURA Takumi
2012-05-22Adds a method overwriteChangedFiles to the Rewriter. This is implemented byManuel Klimek
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-06-15Automatic Reference Counting.John McCall
2011-04-20Use S.str() to force a flush.Fariborz Jahanian
2011-04-20Be sure to flush raw_string_ostream objects in the Objective-CDouglas Gregor
2011-04-16Introduce Rewriter::IncreaseIndentation() which increase indentations for the...Argyrios Kyrtzidis
2011-04-13Collect the options applicable to the Rewriter methods into a RewriterOptions...Argyrios Kyrtzidis
2011-04-11Fixup more objc rwriter bug having to do withFariborz Jahanian
2011-04-07Enhance the Rewriter.Argyrios Kyrtzidis
2010-07-14Pass StringRefs by value.Benjamin Kramer
2010-06-18introduce a new CharSourceRange class, and enhance the diagnostics routinesChris Lattner
2010-04-16Add a write(raw_ostream&) method to RewriteBuffer. This uses an inefficientNick Lewycky
2010-03-16Let SourceManager::getBufferData return StringRef instead of a pair of two co...Benjamin Kramer
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor
2010-03-15Add some <cstdio> includes to unbreak the buildbotsDouglas Gregor
2010-03-15Introduce a new BufferResult class to act as the return type ofDouglas Gregor
2010-02-05Some clean up of replacement text API no longer needed byFariborz Jahanian
2010-01-28Fixes a rewrite bug rewriting nested ivars reference.Fariborz Jahanian
2010-01-07Fix typo: rename Rewriter::getRewritenText() -> Rewriter::getRewrittenText().Ted Kremenek
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
2009-08-19Convert parts of Rewriter to StringRef based API.Daniel Dunbar
2009-06-30Key decisions about 'bool' vs '_Bool' to be based on a new flag in langoptions.Chris Lattner