Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing space between * and a variable #49773

Closed
llvmbot opened this issue May 21, 2021 · 2 comments
Closed

missing space between * and a variable #49773

llvmbot opened this issue May 21, 2021 · 2 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla clang-format

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented May 21, 2021

Bugzilla Link 50429
Resolution FIXED
Resolved on Jun 08, 2021 17:48
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @Nuullll
Fixed by commit(s) rG21c18d5a04316891110cecc2bf37ce51533decba

Extended Description

It seems that the * at the end was formatted with no space after it.


std::pair<int, int> crt2(int a, int m1, int b, int m2) {
return std::make_pair(int(ll(b + m2 - a % m2) % m2 * inv_mod(m1, m2) % m2 * m1 + a), m1 *m2);
}

With the following settings:


BasedOnStyle: LLVM
Standard: Cpp11
PointerAlignment: Right
UseTab: Never
IndentWidth: 2
AccessModifierOffset: -2
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakTemplateDeclarations: false
AllowShortLoopsOnASingleLine: true
ColumnLimit: 100

@llvmbot
Copy link
Collaborator Author

llvmbot commented May 21, 2021

assigned to @Nuullll

@Nuullll
Copy link
Contributor

Nuullll commented Jun 3, 2021

Draft patch here: https://reviews.llvm.org/D103589

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang-format
Projects
None yet
Development

No branches or pull requests

2 participants