llvm/include
Yuchen Wu 9db9663d1d Use a map instead of vector to store line counts.
There are a few motivations for this:
- Using a map allows for checking if line is in map. This differentiates
  unexecutable lines (such as comments) from unexecuted logical lines of
  code. "#####" is now outputted in this case, in line with gcov.
- Source files are no longer read in twice: once when storing the line
  counts, and once when outputting the data.
- Greatly simplifies the function FileInfo::addLineCount().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193264 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-23 19:45:03 +00:00
..
llvm Use a map instead of vector to store line counts. 2013-10-23 19:45:03 +00:00
llvm-c llvm-c/Target.h: Tweak "inline" for msvc to use __inline instead. 2013-10-23 17:56:52 +00:00