[all-commits] [llvm/llvm-project] a9731d: [clang][bytecode][NFC] Avoid a getSource() call (#...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Nov 22 05:00:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9731dff0a0133f718e8e4fb6c729aa1d7c909a4
      https://github.com/llvm/llvm-project/commit/a9731dff0a0133f718e8e4fb6c729aa1d7c909a4
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp

  Log Message:
  -----------
  [clang][bytecode][NFC] Avoid a getSource() call (#117311)

This is only needed when we actually emit a diagnostic, so move the
getSource() after the early return.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list