[all-commits] [llvm/llvm-project] 09ba20: Fix compilation issue reported by MSVC user on cfe...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Nov 24 17:36:26 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09ba2063dc9339957b999c08d3810a3cec2b745b
      https://github.com/llvm/llvm-project/commit/09ba2063dc9339957b999c08d3810a3cec2b745b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-11-24 (Tue, 24 Nov 2020)

  Changed paths:
    M clang/include/clang/AST/ExprCXX.h

  Log Message:
  -----------
  Fix compilation issue reported by MSVC user on cfe-dev

MSVC seems to think this `friend class TrailingObjects;` declaration is
declaring a TrailingObjects class instead of naming the injected base
class. Remove `class` so it does the right thing.




More information about the All-commits mailing list