[ 
https://issues.apache.org/jira/browse/IMPALA-12469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Rozsa updated IMPALA-12469:
---------------------------------
    Summary: Allow short if statements on a single line in clang-format  (was: 
Allow short statements on a single line in clang-format)

> Allow short if statements on a single line in clang-format
> ----------------------------------------------------------
>
>                 Key: IMPALA-12469
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12469
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 4.2.0
>            Reporter: Peter Rozsa
>            Assignee: Peter Rozsa
>            Priority: Trivial
>             Fix For: Impala 4.3.0
>
>
> Impala's Java codebase uses a lot of oneliner if statements like:
> {code:java}
> if (ifExists_) { sb.append("IF EXISTS "); } {code}
> The .clang-format file does not reflect this, the following rules are missing:
> {code:java}
> AllowShortIfStatementsOnASingleLine: true
> AllowShortBlocksOnASingleLine: true {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to