[all-commits] [llvm/llvm-project] c8341a: [clang][Interp][NFC] Avoid a getSource() call in t...

Timm Bäder via All-commits all-commits at lists.llvm.org
Mon Nov 7 00:43:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8341a66159703de242ab8de362b59548cdda71e
      https://github.com/llvm/llvm-project/commit/c8341a66159703de242ab8de362b59548cdda71e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Avoid a getSource() call in the common case

In the common (successful) case, we don't need the getSource() call, so
move it to the two if statement bodies instead.


  Commit: 6b3e5c595b6930ae87aef6d75377663d238c0921
      https://github.com/llvm/llvm-project/commit/6b3e5c595b6930ae87aef6d75377663d238c0921
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h

  Log Message:
  -----------
  [clang][Interp][NFC] Remove unused function


  Commit: 5bd6bd12276ff5e5c38002cf607976e8ac9ed8a6
      https://github.com/llvm/llvm-project/commit/5bd6bd12276ff5e5c38002cf607976e8ac9ed8a6
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Simplify visitReturnStmt()


  Commit: 5dfacb12452026eb9492d046e816fafa0ff5915c
      https://github.com/llvm/llvm-project/commit/5dfacb12452026eb9492d046e816fafa0ff5915c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M clang/lib/AST/Interp/Descriptor.h

  Log Message:
  -----------
  [clang][Interp][NFC] Replace dyn_cast_or_null with _if_present

... in Descriptor.h


Compare: https://github.com/llvm/llvm-project/compare/41fa7d2093e0...5dfacb124520


More information about the All-commits mailing list