aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Edit/Commit.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-08-04[Edit] Use StringRef's copy method. No functional change intended.Benjamin Kramer1-1/+1
llvm-svn: 243968
2014-04-28[objcmt] Revert r191796, it's not needed anymore.Argyrios Kyrtzidis1-7/+5
rdar://16223810 llvm-svn: 207391
2013-10-01ObjectiveC migrator: When doing migration, migrator must suggestFariborz Jahanian1-5/+7
migration of headers which have become system headers by user having put the .system_framework in the sdk directory. // rdar://15066802 llvm-svn: 191796
2013-07-08[Objective-C migrator] replace candidate user setter/getter withFariborz Jahanian1-1/+1
their equivalent property declaration. wip. llvm-svn: 185873
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-1/+1
uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
2012-12-04Refactor recording the preprocessor conditional directive regions out ofArgyrios Kyrtzidis1-2/+2
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. llvm-svn: 169229
2012-06-27Fix uninitialized variable use bug found by the clairvoyant static analyzer.Argyrios Kyrtzidis1-0/+1
Commit::canReplaceText would not initialize its out 'Len' parameter before returning true and it would be used uninitialized in Commit::replaceText. llvm-svn: 159306
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack ↵David Blaikie1-1/+1
(Lex to AST). The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
2012-03-06Add new code migrator support for migrating existing Objective-C code to useTed Kremenek1-0/+345
the new Objective-C NSArray/NSDictionary/NSNumber literal syntax. This introduces a new library, libEdit, which provides a new way to support migration of code that improves on the original ARC migrator. We now believe that most of its functionality can be refactored into the existing libraries, and thus this new library may shortly disappear. llvm-svn: 152141