[PATCH] D74207: [llvm-dwarfdump][Stats] Add the License header

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 08:54:52 PST 2020


aprantl added inline comments.


================
Comment at: llvm/tools/llvm-dwarfdump/Statistics.cpp:1
+//===- Statistics.cpp ------------------------------------------- *- C++ *-===//
+//
----------------
This is doubly broken :-)

1. The language mark is spelled `-*- C++ -*-`
2. It only makes sense to put this into a .h file where the programming language is ambiguous. A .cpp file is always C++.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74207





More information about the llvm-commits mailing list