diff options
author | Alexander Kornienko <alexfh@google.com> | 2019-03-22 13:42:48 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2019-03-22 13:42:48 +0000 |
commit | bbc89dcb29035ad450ac0981b8f51a6cfa2aa8ba (patch) | |
tree | 49ca020bccc697a6d96f54a88cc2b9601f79d1db /clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap | |
parent | 64178fe5e9e1fe4f853079cb199dea6235adb36f (diff) | |
download | bcm5719-llvm-bbc89dcb29035ad450ac0981b8f51a6cfa2aa8ba.tar.gz bcm5719-llvm-bbc89dcb29035ad450ac0981b8f51a6cfa2aa8ba.zip |
[clang-tidy] Expand modular headers for PPCallbacks
Summary:
Add a way to expand modular headers for PPCallbacks. Checks can opt-in for this
expansion by overriding the new registerPPCallbacks virtual method and
registering their PPCallbacks in the preprocessor created for this specific
purpose.
Use module expansion in the readability-identifier-naming check
Reviewers: gribozavr, usaxena95, sammccall
Reviewed By: gribozavr
Subscribers: nemanjai, mgorny, xazax.hun, kbarton, jdoerfert, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D59528
llvm-svn: 356750
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap b/clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap new file mode 100644 index 00000000000..d04240aff35 --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/Inputs/expand-modular-headers-ppcallbacks/module.modulemap @@ -0,0 +1,3 @@ +module a { header "a.h" export * } +module b { header "b.h" export * use a } +module c { header "c.h" export * use b } |