[all-commits] [llvm/llvm-project] fd271f: Don't warn about missing declarations for partial ...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Wed Feb 5 06:26:24 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fd271fd64a284e9182c8afd8eb8084d8d43df587
      https://github.com/llvm/llvm-project/commit/fd271fd64a284e9182c8afd8eb8084d8d43df587
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/SemaCXX/warn-missing-variable-declarations.cpp

  Log Message:
  -----------
  Don't warn about missing declarations for partial template specializations

Summary: Just like templates, they are excepted from the ODR rule.

Reviewed By: aaron.ballman, rsmith

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

(cherry picked from commit 27684ae66d5545f211c0ac4393d0ba2bf3b5b47c)




More information about the All-commits mailing list