diff options
author | Richard Trieu <rtrieu@google.com> | 2018-02-22 05:50:29 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-02-22 05:50:29 +0000 |
commit | 0ac2eb7369f8acb6c7c5485299abc66cdcca04b0 (patch) | |
tree | 61e85225a96ef733e7a5feb1afbb081a6f3779f4 /clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap | |
parent | f65efae5c45bdccddb40b829cf28fcbf70af891b (diff) | |
download | bcm5719-llvm-0ac2eb7369f8acb6c7c5485299abc66cdcca04b0.tar.gz bcm5719-llvm-0ac2eb7369f8acb6c7c5485299abc66cdcca04b0.zip |
[ODRHash] Fix hashing for friend functions.
When hashing a templated function, use the hash of the function it was
instantiated from.
llvm-svn: 325742
Diffstat (limited to 'clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap')
-rw-r--r-- | clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap b/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap index 28e1832e30e..449d51e7f70 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 Module2 { module Module3 { header "M3.h" } + +module Good { + header "Good.h" +} + +module Bad { + header "Bad.h" +} |