diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-05-31 14:33:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-05-31 14:33:28 +0000 |
commit | 658d28014bf98019cd253dbada51dffdde8093ff (patch) | |
tree | 2572e84041b33ad124ef290e0a8731b904acad94 /clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml | |
parent | 30bffb9dcf8c9b53c924e3145a71e20e6ee0c04f (diff) | |
download | bcm5719-llvm-658d28014bf98019cd253dbada51dffdde8093ff.tar.gz bcm5719-llvm-658d28014bf98019cd253dbada51dffdde8093ff.zip |
[include-fixer] Rank symbols based on the number of occurrences we found while merging.
This sorts based on the popularity of the header, not the symbol. If
there are mutliple matching symbols in one header we take the maximum
popularity for that header and deduplicate. If we know nothing we sort
lexicographically based on the header path.
Differential Revision: http://reviews.llvm.org/D20814
llvm-svn: 271283
Diffstat (limited to 'clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml')
-rw-r--r-- | clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml b/clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml index 7e60fc2e9ae..4d9c219150a 100644 --- a/clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml +++ b/clang-tools-extra/test/include-fixer/Inputs/fake_yaml_db.yaml @@ -22,3 +22,24 @@ LineNumber: 1 Type: Class NumOccurrences: 1 ... +Name: bar +Contexts: + - ContextType: Namespace + ContextName: a + - ContextType: Namespace + ContextName: b +FilePath: ../include/bar.h +LineNumber: 2 +Type: Class +NumOccurrences: 3 +... +Name: bar +Contexts: + - ContextType: Namespace + ContextName: a + - ContextType: Namespace + ContextName: b +FilePath: ../include/zbar.h +LineNumber: 1 +Type: Class +NumOccurrences: 3 |