[all-commits] [llvm/llvm-project] e4df93: [Clang interpreter] Rename Block.{h, cpp} to Interp...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:49:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e4df934ca7b408cfb52531016198545a8d50f41a
      https://github.com/llvm/llvm-project/commit/e4df934ca7b408cfb52531016198545a8d50f41a
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M clang/lib/AST/CMakeLists.txt
    R clang/lib/AST/Interp/Block.cpp
    R clang/lib/AST/Interp/Block.h
    A clang/lib/AST/Interp/InterpBlock.cpp
    A clang/lib/AST/Interp/InterpBlock.h
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn

  Log Message:
  -----------
  [Clang interpreter] Rename Block.{h,cpp} to InterpBlock.{h,cpp}

The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, more friendly when navigating files in
an editor, etc).

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D74934




More information about the All-commits mailing list