MaggieYi added a comment.

A simple test to reproduce the issue:

  % cat main.cpp
  #include "1.h"
  #include "2.h"
  int foo();
  
  % cat 1.h
  template <typename T> auto Zero() -> T { return T{}; }
  
  %cat 2.h
  struct Bla {};

Compile the code with `-ftime-trace-granularity=0 -ftime-trace` to show the 
issue:

  prospero-clang -ftime-trace-granularity=0 -ftime-trace main.cpp -c -o main.o 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147520/new/

https://reviews.llvm.org/D147520

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to