mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 03:51:55 +00:00
Improve the warning when building with -fprofile-instr-use and a file appears not to have been profiled at all. This keys on whether a function is defined in the main file or not to avoid false negatives when one includes a header with functions that have been profiled. llvm-svn: 211760
4 lines
47 B
C
4 lines
47 B
C
void function_in_header(int i) {
|
|
if (i) {}
|
|
}
|