diff options
| author | Vassil Vassilev <v.g.vassilev@gmail.com> | 2016-07-22 21:08:24 +0000 |
|---|---|---|
| committer | Vassil Vassilev <v.g.vassilev@gmail.com> | 2016-07-22 21:08:24 +0000 |
| commit | 19765fb68c67df88ad03bfa6e56b1f1f39ee6ffc (patch) | |
| tree | 573203ffb0e3ba2d332498ef3ad6791b14138de3 /clang/test/Modules/Inputs/PR28332/module.modulemap | |
| parent | b73d7aed71c3f750f2ca64b93eed83eac10e1458 (diff) | |
| download | bcm5719-llvm-19765fb68c67df88ad03bfa6e56b1f1f39ee6ffc.tar.gz bcm5719-llvm-19765fb68c67df88ad03bfa6e56b1f1f39ee6ffc.zip | |
[modules] Teach the ASTWriter to ignore mutations coming from the ASTReader.
Processing update records (and loading a module, in general) might trigger
unexpected calls to the ASTWriter (being a mutation listener). Now we have a
mechanism to suppress those calls to the ASTWriter but notify other possible
mutation listeners.
Fixes https://llvm.org/bugs/show_bug.cgi?id=28332
Patch by Cristina Cristescu and me.
Reviewed by Richard Smith (D21800).
llvm-svn: 276473
Diffstat (limited to 'clang/test/Modules/Inputs/PR28332/module.modulemap')
| -rw-r--r-- | clang/test/Modules/Inputs/PR28332/module.modulemap | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/PR28332/module.modulemap b/clang/test/Modules/Inputs/PR28332/module.modulemap new file mode 100644 index 00000000000..8c3f4ecab4e --- /dev/null +++ b/clang/test/Modules/Inputs/PR28332/module.modulemap @@ -0,0 +1,3 @@ +module "c.h" { header "c.h" export * } +module "b.h" { header "b.h" export * } +module "a.h" { header "a.h" } |

