[all-commits] [llvm/llvm-project] 8e464d: Frontend: Use early returns in CompilerInstance::c...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Tue Jan 26 19:35:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e464dd76befbc4a39a1d21968a3d5f543e29312
      https://github.com/llvm/llvm-project/commit/8e464dd76befbc4a39a1d21968a3d5f543e29312
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInstance.cpp

  Log Message:
  -----------
  Frontend: Use early returns in CompilerInstance::clearOutputFiles, NFC

Use early returns in `CompilerInstance::clearOutputFiles` to clarify the
logic, and rename `ec` to `EC` as a drive-by.

No functionality change.




More information about the All-commits mailing list