summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/modularize.rst
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-09-20 16:47:33 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-09-20 16:47:33 +0000
commit587f6db9e1da61b2123335b5d31966a4e55fe263 (patch)
treea8c3e158bda1808844aa9066d57c9b0d1c86f7f1 /clang-tools-extra/docs/modularize.rst
parenta2b66875d36e4d0db9b86b55774b3ef2aff223f5 (diff)
downloadbcm5719-llvm-587f6db9e1da61b2123335b5d31966a4e55fe263.tar.gz
bcm5719-llvm-587f6db9e1da61b2123335b5d31966a4e55fe263.zip
Added list of checks made.
llvm-svn: 191093
Diffstat (limited to 'clang-tools-extra/docs/modularize.rst')
-rw-r--r--clang-tools-extra/docs/modularize.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/modularize.rst b/clang-tools-extra/docs/modularize.rst
index e5ee62e3330..d23dd83b91a 100644
--- a/clang-tools-extra/docs/modularize.rst
+++ b/clang-tools-extra/docs/modularize.rst
@@ -44,6 +44,14 @@ modularize.
What Modularize Checks
======================
+Modularize will check for the following:
+
+* Duplicate global type and variable definitions
+* Duplicate macro definitions
+* Macro instances, 'defined(macro)', or #if, #elif, #ifdef, #ifndef conditions
+ that evaluate differently in a header
+* #include directives inside 'extern "C/C++" {}' or 'namespace (name) {}' blocks
+
Modularize will do normal C/C++ parsing, reporting normal errors and warnings,
but will also report special error messages like the following:
OpenPOWER on IntegriCloud