[all-commits] [llvm/llvm-project] ad84c6: [polly] Match function definitions and header decl...

Michael Kruse via All-commits all-commits at lists.llvm.org
Wed Feb 16 10:52:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad84c6f657894d98bfb9f71a69574e4b24df6174
      https://github.com/llvm/llvm-project/commit/ad84c6f657894d98bfb9f71a69574e4b24df6174
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M polly/include/polly/CodeGen/IslAst.h
    M polly/include/polly/ScopDetection.h
    M polly/include/polly/ScopInfo.h
    M polly/lib/Analysis/DependenceInfo.cpp
    M polly/lib/Analysis/ScopBuilder.cpp
    M polly/lib/Analysis/ScopDetection.cpp
    M polly/lib/CodeGen/BlockGenerators.cpp
    M polly/lib/CodeGen/IslExprBuilder.cpp
    M polly/lib/CodeGen/IslNodeBuilder.cpp
    M polly/lib/Support/SCEVValidator.cpp
    M polly/lib/Transform/DeLICM.cpp
    M polly/lib/Transform/ForwardOpTree.cpp

  Log Message:
  -----------
  [polly] Match function definitions and header declarations. NFC.

Ensure that function definitions match their declrations in header
files, even if they have no effect on linking. This includes

 1. Both have the same __isl_* annotations

 2. Both use the same type alias

 3. Remove unused declarations that have no definition

 4. Use explicit polly namespace qualifier for definitions; generally,
    the .cpp file should use at most an anon namespace region since
    only symbols declared in the header file can be accessed from other
    translation units anyway. For defintions that have been declared in
    the header file, the explicit namespace qualifier ensures that both
    match.




More information about the All-commits mailing list