[all-commits] [llvm/llvm-project] 8dc70b: [clang][cli] Fix build failure in CompilerInvocation

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Feb 26 04:15:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dc70bdcd0fe4efb65876dce0144d9c3386a2f07
      https://github.com/llvm/llvm-project/commit/8dc70bdcd0fe4efb65876dce0144d9c3386a2f07
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Fix build failure in CompilerInvocation

There is a report that https://reviews.llvm.org/D96280 causes a build failure with error: too few template arguments for class template 'SmallVector'. This patch attempts to fix that by explicitly specifying N for SmallVector<T, N>.




More information about the All-commits mailing list