HomeSort by: relevance | last modified time | path
    Searched refs:Commit (Results 1 - 19 of 19) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Edit/
Rewriters.h 23 class Commit;
26 const NSAPI &NS, Commit &commit);
29 const NSAPI &NS, Commit &commit,
33 const NSAPI &NS, Commit &commit);
Commit.h 1 //===- Commit.h - A unit of edits -------------------------------*- C++ -*-===//
29 class Commit {
63 explicit Commit(EditedSource &Editor);
64 Commit(const SourceManager &SM, const LangOptions &LangOpts,
EditedSource.h 32 class Commit;
86 bool commit(const Commit &commit);
  /src/external/apache2/llvm/lib/libclangEdit/
Makefile 9 SRCS+= Commit.cpp \
  /src/external/apache2/llvm/dist/clang/lib/Edit/
Commit.cpp 1 //===- Commit.cpp - A unit of edits ---------------------------------------===//
9 #include "clang/Edit/Commit.h"
24 SourceLocation Commit::Edit::getFileLocation(SourceManager &SM) const {
31 CharSourceRange Commit::Edit::getFileRange(SourceManager &SM) const {
36 CharSourceRange Commit::Edit::getInsertFromRange(SourceManager &SM) const {
43 Commit::Commit(EditedSource &Editor)
48 bool Commit::insert(SourceLocation loc, StringRef text,
64 bool Commit::insertFromRange(SourceLocation loc,
91 bool Commit::remove(CharSourceRange range)
    [all...]
RewriteObjCFoundationAPI.cpp 19 #include "clang/Edit/Commit.h"
59 const NSAPI &NS, Commit &commit) {
85 commit.replaceWithInner(Msg->getSourceRange(),
173 static void maybePutParensOnReceiver(const Expr *Receiver, Commit &commit) {
176 commit.insertWrap("(", RecRange, ")");
181 Commit &commit) {
192 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin()
    [all...]
EditedSource.cpp 14 #include "clang/Edit/Commit.h"
93 // written by a previous commit for another expansion of the same macro
101 // A commit modified the macro argument 'a' due to the first '(x)'
102 // expansion inside the macro definition, and a subsequent commit tried
104 // second commit will be rejected.
276 bool EditedSource::commit(const Commit &commit) { function in class:EditedSource
277 if (!commit.isCommitable())
292 for (edit::Commit::edit_iterato
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/timesten/dnreverse/
dnreverse.cpp 53 static void ReverseAndUpper(char* dnP, int id, bool commit=true);
104 void LDAPEntriesHandler::ReverseAndUpper(char* dnP, int id, bool commit)
132 // Commit the transaction
134 if (commit) {
136 conn2.Commit(stat);
273 conn2.Commit(stat);
299 conn2.Commit(stat);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
ObjCMT.cpp 21 #include "clang/Edit/Commit.h"
236 const NSAPI &NS, edit::Commit &commit,
275 commit.insertBefore(receiver->getBeginLoc(), "(");
281 commit.replace(SpaceRange, PropertyDotString);
284 commit.replace(SourceRange(MsgRange.getBegin(), MsgRange.getBegin()), "");
285 commit.replace(SourceRange(MsgRange.getEnd(), MsgRange.getEnd()), "");
288 commit.insertWrap("(", receiver->getSourceRange(), ")");
306 commit.replace(Range, PropertyDotString);
308 commit.replace(SourceRange(MsgRange.getBegin(), MsgRange.getBegin()), "")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
COFFModuleDefinition.cpp 299 // HEAPSIZE/STACKSIZE reserve[,commit]
300 Error parseNumbers(uint64_t *Reserve, uint64_t *Commit) {
306 Commit = nullptr;
309 if (Error Err = readAsInt(Commit))
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FixItRewriter.cpp 21 #include "clang/Edit/Commit.h"
154 edit::Commit commit(Editor);
161 commit.insertFromRange(Hint.RemoveRange.getBegin(),
165 commit.remove(Hint.RemoveRange);
169 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
171 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
175 bool CanRewrite = Info.getNumFixItHints() > 0 && commit.isCommitable();
189 if (!Editor.commit(commit)) {
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseTemplate.cpp 1540 TPA.Commit();
1731 TPA.Commit();
1779 TPA.Commit();
ParseExprCXX.cpp 292 TPA.Commit();
301 TPA.Commit();
317 // Commit to parsing the template-id.
318 TPA.Commit();
492 // error recovery. But before we commit to this, check that we actually
786 TPA.Commit();
792 TPA.Commit();
3556 TPA.Commit();
3569 TPA.Commit();
ParseOpenMP.cpp 372 TPA.Commit();
385 TPA.Commit();
417 TPA.Commit();
432 TPA.Commit();
1892 TPA.Commit();
3413 TPA.Commit();
3933 TPA.Commit();
ParseStmt.cpp 2341 PA.Commit();
2356 PA.Commit();
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
DiagnosticRenderer.cpp 15 #include "clang/Edit/Commit.h"
62 edit::Commit commit(SM, LangOpts);
66 commit.insertFromRange(Hint.RemoveRange.getBegin(),
70 commit.remove(Hint.RemoveRange);
74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
81 if (Editor.commit(commit)) {
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/windows/
objidl.d 584 HRESULT Commit(DWORD);
749 HRESULT Commit(DWORD);
841 HRESULT Commit(DWORD);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExprObjC.cpp 20 #include "clang/Edit/Commit.h"
2452 const NSAPI &, edit::Commit &)) {
2458 edit::Commit ECommit(SM, S.LangOpts);
2465 for (edit::Commit::edit_iterator
2467 const edit::Commit::Edit &Edit = *I;
2469 case edit::Commit::Act_Insert:
2474 case edit::Commit::Act_InsertFromRange:
2480 case edit::Commit::Act_Remove:
  /src/external/apache2/llvm/dist/clang/include/clang/Parse/
Parser.h 929 /// after the token consumption is done, Commit() or Revert() is called to
930 /// either "commit the consumed tokens" or revert to the previously marked
958 void Commit() {
978 assert(!isActive && "Forgot to call Commit or Revert!");

Completed in 53 milliseconds