commit | 0ac2eb7369f8acb6c7c5485299abc66cdcca04b0 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Thu Feb 22 05:50:29 2018 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Thu Feb 22 05:50:29 2018 +0000 |
tree | 61e85225a96ef733e7a5feb1afbb081a6f3779f4 | |
parent | f65efae5c45bdccddb40b829cf28fcbf70af891b [diff] [blame] |
[ODRHash] Fix hashing for friend functions. When hashing a templated function, use the hash of the function it was instantiated from. llvm-svn: 325742
diff --git a/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap b/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap index 28e1832e..449d51e 100644 --- a/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap +++ b/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap
@@ -13,3 +13,11 @@ module Module3 { header "M3.h" } + +module Good { + header "Good.h" +} + +module Bad { + header "Bad.h" +}