Home
last modified time | relevance | path

Searched refs:commit (Results 1 – 25 of 203) sorted by relevance

123456789

/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp60 const NSAPI &NS, Commit &commit) { in rewriteObjCRedundantCallWithLiteral() argument
86 commit.replaceWithInner(Msg->getSourceRange(), in rewriteObjCRedundantCallWithLiteral()
174 static void maybePutParensOnReceiver(const Expr *Receiver, Commit &commit) { in maybePutParensOnReceiver() argument
177 commit.insertWrap("(", RecRange, ")"); in maybePutParensOnReceiver()
182 Commit &commit) { in rewriteToSubscriptGetCommon() argument
193 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), in rewriteToSubscriptGetCommon()
196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
198 commit.insertWrap("[", ArgRange, "]"); in rewriteToSubscriptGetCommon()
199 maybePutParensOnReceiver(Rec, commit); in rewriteToSubscriptGetCommon()
206 Commit &commit) { in rewriteToArraySubscriptGet() argument
[all …]
/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp234 const NSAPI &NS, edit::Commit &commit, in rewriteToPropertyDotSyntax()
273 commit.insertBefore(receiver->getBeginLoc(), "("); in rewriteToPropertyDotSyntax()
279 commit.replace(SpaceRange, PropertyDotString); in rewriteToPropertyDotSyntax()
282 commit.replace(SourceRange(MsgRange.getBegin(), MsgRange.getBegin()), ""); in rewriteToPropertyDotSyntax()
283 commit.replace(SourceRange(MsgRange.getEnd(), MsgRange.getEnd()), ""); in rewriteToPropertyDotSyntax()
286 commit.insertWrap("(", receiver->getSourceRange(), ")"); in rewriteToPropertyDotSyntax()
304 commit.replace(Range, PropertyDotString); in rewriteToPropertyDotSyntax()
306 commit.replace(SourceRange(MsgRange.getBegin(), MsgRange.getBegin()), ""); in rewriteToPropertyDotSyntax()
307 commit.replace(SourceRange(MsgRange.getEnd(), MsgRange.getEnd()), ""); in rewriteToPropertyDotSyntax()
325 edit::Commit commit(*Consume in VisitObjCMessageExpr()
233 rewriteToPropertyDotSyntax(const ObjCMessageExpr * Msg,Preprocessor & PP,const NSAPI & NS,edit::Commit & commit,const ParentMap * PMap) rewriteToPropertyDotSyntax() argument
324 edit::Commit commit(*Consumer.Editor); VisitObjCMessageExpr() local
330 edit::Commit commit(*Consumer.Editor); VisitObjCMessageExpr() local
336 edit::Commit commit(*Consumer.Editor); VisitObjCMessageExpr() local
454 rewriteToObjCProperty(const ObjCMethodDecl * Getter,const ObjCMethodDecl * Setter,const NSAPI & NS,edit::Commit & commit,unsigned LengthOfPrefix,bool Atomic,bool UseNsIosOnlyMacro,bool AvailabilityArgsMatch) rewriteToObjCProperty() argument
661 rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl * IDecl,llvm::SmallVectorImpl<ObjCProtocolDecl * > & ConformingProtocols,const NSAPI & NS,edit::Commit & commit) rewriteToObjCInterfaceDecl() argument
704 rewriteToNSEnumDecl(const EnumDecl * EnumDcl,const TypedefDecl * TypedefDcl,const NSAPI & NS,edit::Commit & commit,StringRef NSIntegerName,bool NSOptions) rewriteToNSEnumDecl() argument
759 rewriteToNSMacroDecl(ASTContext & Ctx,const EnumDecl * EnumDcl,const TypedefDecl * TypedefDcl,const NSAPI & NS,edit::Commit & commit,bool IsNSIntegerType) rewriteToNSMacroDecl() argument
879 edit::Commit commit(*Editor); migrateProtocolConformance() local
932 edit::Commit commit(*Editor); migrateNSEnumDecl() local
945 edit::Commit commit(*Editor); migrateNSEnumDecl() local
970 edit::Commit commit(*ASTC.Editor); ReplaceWithInstancetype() local
992 edit::Commit commit(*ASTC.Editor); ReplaceWithClasstype() local
1218 edit::Commit commit(*Editor); migrateProperty() local
1232 edit::Commit commit(*Editor); migrateProperty() local
1258 edit::Commit commit(*Editor); migrateNsReturnsInnerPointer() local
1270 edit::Commit commit(*Editor); migratePropertyNsReturnsInnerPointer() local
1394 edit::Commit commit(*Editor); AnnotateImplicitBridging() local
1471 edit::Commit commit(*Editor); AddCFAnnotations() local
1484 edit::Commit commit(*Editor); AddCFAnnotations() local
1490 edit::Commit commit(*Editor); AddCFAnnotations() local
1596 edit::Commit commit(*Editor); AddCFAnnotations() local
1610 edit::Commit commit(*Editor); AddCFAnnotations() local
1638 edit::Commit commit(*Editor); migrateAddMethodAnnotation() local
1713 edit::Commit commit(*Editor); inferDesignatedInitializers() local
1731 edit::Commit commit(*Editor); InsertFoundation() local
2171 edit::Commit commit(Editor); applyEditsToTemp() local
[all...]
/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp156 edit::Commit commit(Editor); in HandleDiagnostic()
163 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic()
167 commit.remove(Hint.RemoveRange); in HandleDiagnostic()
171 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
173 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
177 bool CanRewrite = Info.getNumFixItHints() > 0 && commit.isCommitable(); in HandleDiagnostic()
191 if (!Editor.commit(commit)) { in HandleDiagnostic()
155 edit::Commit commit(Editor); HandleDiagnostic() local
/llvm-project/llvm/docs/
H A DGitHub.rst67 self-contained commit initially.
69 provide feedback. It also helps maintain a clear and organized commit history
73 Create a local branch per commit you want to submit and then push that branch
77 As GitHub uses the first line of the commit message truncated to 72 characters
107 `built-in support for fixups <https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt>`_
111 you must use the pull request title and description as the commit message.
157 If the PR is a single commit, all you need to do is click the merge button in
161 one commit. There are three different ways to do this, shown here with the most
165 remember to review the commit messag
[all...]
H A DGitBisecting.rst32 If you can't repro at the current commit (maybe the build is broken), run
33 ``git bisect skip`` and git will pick a nearby alternate commit.
72 later you'll know which commit caused the regression.
89 ``A`` is the first commit in LLVM ever, ``97724f18c79c``.
91 ``B`` is the first commit in MLIR, ``aed0d21a62db``.
93 ``D`` is the merge commit that merged MLIR into the main LLVM repository,
96 ``C`` is the last commit in MLIR before it got merged, ``0f0d0ed1c78f^2``. (The
97 ``^n`` modifier selects the n'th parent of a merge commit.)
H A DCodeReview.rst39 those requested during any post-commit review.
46 Post-commit review is encouraged, and can be accomplished using any of the
48 promptly to post-commit feedback and address it. Failure to do so is cause for
51 If a community member expresses a concern about a recent commit, and this
53 pre-commit review (including around the need for more design discussions),
58 this is inherent to our post-commit review practices.
69 Please note: The bar for post-commit feedback is not higher than for pre-commit
72 pre-commit (had you noticed it earlier), please feel free to provide that
77 address the issues than comment on the original commit
[all...]
H A DSecurityTransparencyReports.rst12 commit <https://github.com/llvm/llvm-project/commit/7bf73bcf6d93>`_ describing
18 * We defined details on how to report security issues, see `this commit on
19 20th of May 2021 <https://github.com/llvm/llvm-project/commit/c9dbaa4c86d2>`_
21 commit on 30th of July 2021 <https://github.com/llvm/llvm-project/commit/4c98e9455aad>`_
H A DDeveloperPolicy.rst102 it (or commit it directly if applicable).
224 All contributors with commit access to the LLVM Project are eligible to be a
225 maintainer. However, we are looking for people who can commit to:
303 discretion, preferably as part of the commit landing the changes. Examples of
377 progress. The developer is welcome to re-commit the change after the problem has
385 Although we don't enforce the format of commit messages, we prefer that
399 * Separate the commit message into title and body separated by a blank line.
401 * If you're not the original author, ensure the 'Author' property of the commit is
404 ``git commit --amend --author="John Doe <jdoe@llvm.org>"`` to correct the
411 <https://github.blog/2018-01-29-commit
[all...]
H A DContributing.rst61 * have a single commit, up-to-date with the upstream ``origin/main`` branch, and don't have merges.
70 recent commit:
76 Note that this modifies the files, but doesn't commit them -- you'll likely want
81 % git commit --amend -a
83 in order to update the last commit with all pending changes.
117 as the title and message of the final squashed commit. The titles and
130 For developers to commit changes from Git
/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp248 cantFail(InjectedSourceTable.commit(Writer)); in commitSrcHeaderBlock()
273 Error PDBFileBuilder::commit(StringRef Filename, codeview::GUID *Guid) {
280 Msf->commit(Filename, Layout); in commit()
292 if (auto EC = Strings.commit(NSWriter)) in commit()
310 if (auto EC = Info->commit(Layout, Buffer)) in commit()
315 if (auto EC = Dbi->commit(Layout, Buffer)) in commit()
320 if (auto EC = Tpi->commit(Layout, Buffer)) in commit()
325 if (auto EC = Ipi->commit(Layout, Buffer)) in commit()
330 if (auto EC = Gsi->commit(Layout, Buffer)) in commit()
370 return Buffer.commit(); in commit()
274 Error PDBFileBuilder::commit(StringRef Filename, codeview::GUID *Guid) { commit() function in PDBFileBuilder
[all...]
H A DInfoStreamBuilder.cpp56 Error InfoStreamBuilder::commit(const msf::MSFLayout &Layout,
71 if (auto EC = NamedStreams.commit(Writer)) in commit()
57 Error InfoStreamBuilder::commit(const msf::MSFLayout &Layout, commit() function in InfoStreamBuilder
/llvm-project/llvm/unittests/Support/
H A DFileOutputBufferTest.cpp54 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
92 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
112 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
131 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
135 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
151 ASSERT_NO_ERROR(errorToErrorCode((*BufferOrErr)->commit())); in TEST()
/llvm-project/clang/include/clang/Edit/
H A DRewriters.h26 const NSAPI &NS, Commit &commit);
29 const NSAPI &NS, Commit &commit,
33 const NSAPI &NS, Commit &commit);
/llvm-project/third-party/benchmark/
H A DCONTRIBUTING.md29 another Google project), make a commit adding yourself to the
30 [AUTHORS][] and [CONTRIBUTORS][] files. This commit can be part
50 1. Do your best to have [well-formed commit messages][] for each change.
51 This provides consistency throughout the project, and ensures that commit
57 [well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
/llvm-project/polly/lib/External/isl/doc/
H A DSubmittingPatches9 - the first line of the commit message should be a short
11 - the body should provide a meaningful commit message, which
17 commit message (or just use the option "-s" when
21 - make sure that the test suite passes after your commit
34 the commit message) between the "---" and the diffstat
/llvm-project/utils/bazel/examples/http_archive/
H A DWORKSPACE22 # Replace with the LLVM commit you want to use.
25 # The easiest way to calculate this for a new commit is to set it to empty and
35 …urls = ["https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT…
/llvm-project/llvm/include/llvm/Support/
H A DBinaryByteStream.h123 Error commit() override { return Error::success(); } in commit() function
191 Error commit() override { return Error::success(); } in commit() function
213 Error commit() override { in commit() function
214 if (FileBuffer->commit()) in commit()
253 Error commit() override { return Impl.commit(); } in commit() function
/llvm-project/llvm/lib/Support/
H A DBinaryStreamRef.cpp55 Error commit() override { return BBS.commit(); } in commit() function in __anonb12c323d0111::MutableArrayRefImpl
123 Error WritableBinaryStreamRef::commit() { return BorrowedImpl->commit(); } in commit() function in WritableBinaryStreamRef
/llvm-project/clang/utils/analyzer/
H A DProjectMap.py93 commit: str = "" variable in ProjectInfo
170 origin, commit = ProjectMap._get_git_params(raw_project)
172 origin, commit = "", ""
174 return ProjectInfo(name, build_mode, source, origin, commit, enabled, size)
/llvm-project/llvm/docs/Proposals/
H A DGitHubMove.rst33 Contributors will continue to earn commit access on demand under the Developer
108 identify each commit.
125 ``git rev-list --count <commit-hash>``. This identifier is unique only
127 identifies a commit.
136 In contrast to SVN, Git makes branching easy. Git's commit history is
146 history, before allowing the commit being pushed [statuschecks]_.
154 We will need a new bot to send emails for each commit. This proposal leaves the
155 email format unchanged besides the commit URL.
166 3. Add the required bots to implement the commit emails, as well as the
224 a single commit, designing away a common source of temporary build breakage.
[all …]
/llvm-project/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DLoongArch.def8 // The commit hash (main branch) we reference is:
67 // Binutils commit 6d13722a97cee3fd397e116bde3bcedbb1e220be
68 // and commit 9801120721c3a702ce3bd50433ef920f92a83502
111 // Binutils commit 57a930e3bfe4b2c7fd6463ed39311e1938513138
/llvm-project/llvm/utils/git/
H A Dgithub-automation.py32 1. Create a Git commit.
306 Extract the commit hash from the argument passed to /action github
307 comment actions. We currently only support passing the commit hash
309 https://github.com/llvm/llvm-project/commit/2832d7941f4207f1fcf813b27cf08cecc3086959
311 github_prefix = "https://github.com/llvm/llvm-project/commit/"
449 self, commit: str
452 "Failed to cherry-pick: {}\n\n".format(commit)
475 commit = self.repo.get_commit(cherry_pick_sha)
476 message = commit.commit
[all...]
/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp61 edit::Commit commit(SM, LangOpts); in mergeFixits() local
65 commit.insertFromRange(Hint.RemoveRange.getBegin(), in mergeFixits()
69 commit.remove(Hint.RemoveRange); in mergeFixits()
73 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
75 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
80 if (Editor.commit(commit)) { in mergeFixits()
/llvm-project/llvm/utils/gn/build/
H A Dwrite_vcsrevision.gni12 # If this is set to true, VCSRevision.h is updated after every git commit.
13 # That's technically correct, but results in rebuilds after every commit.
/llvm-project/
H A D.mailmap5 # For example, if you commit as `random.person@example.com` but sometimes use
11 # If you commit as both `random.person@example.com` and `ranp@example.com` and
19 # You can commit changes for your own names and email addresses without review.

123456789