[all-commits] [llvm/llvm-project] c148e2: More style cleanups following rG14fc20ca6282 [NFC]

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Dec 20 12:19:37 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c148e2e2ef86f53391be459752511684424f331b
      https://github.com/llvm/llvm-project/commit/c148e2e2ef86f53391be459752511684424f331b
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2019-12-20 (Fri, 20 Dec 2019)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  More style cleanups following rG14fc20ca6282 [NFC]

Demote member functions to static functions where possible
Use early continue/early return to reduce nesting
Clarify comments slightly.
Reuse previously define expression in one case.




More information about the All-commits mailing list