summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-17 13:32:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-17 13:32:59 (GMT)
commit930ac45cbafca79eec9ae68e07c547b5c81b8c2c (patch)
treef7a6345d64b436c27997b95e66ba31432b9bbd7a /Source
parent8b0be060050f76722a2ec51186886df9abdb3c99 (diff)
parentc7006d2ef1c0e511ddccc7393cc2fd0d89a94b4c (diff)
downloadCMake-930ac45cbafca79eec9ae68e07c547b5c81b8c2c.zip
CMake-930ac45cbafca79eec9ae68e07c547b5c81b8c2c.tar.gz
CMake-930ac45cbafca79eec9ae68e07c547b5c81b8c2c.tar.bz2
Merge topic 'clang-format-prep'
c7006d2e cmGeneratorTarget: Protect macro code layout from clang-format
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorTarget.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 4ffe2f0..dffe4cc 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -559,18 +559,18 @@ static void handleSystemIncludesDep(cmLocalGenerator *lg,
}
}
-#define IMPLEMENT_VISIT_IMPL(DATA, DATATYPE) \
- { \
- std::vector<cmSourceFile*> sourceFiles; \
- this->GetSourceFiles(sourceFiles, config); \
- TagVisitor< DATA##Tag DATATYPE > visitor(this, data); \
- for(std::vector<cmSourceFile*>::const_iterator si = sourceFiles.begin(); \
- si != sourceFiles.end(); ++si) \
- { \
- visitor.Accept(*si); \
- } \
- } \
-
+/* clang-format off */
+#define IMPLEMENT_VISIT_IMPL(DATA, DATATYPE) \
+ { \
+ std::vector<cmSourceFile*> sourceFiles; \
+ this->GetSourceFiles(sourceFiles, config); \
+ TagVisitor< DATA##Tag DATATYPE > visitor(this, data); \
+ for (std::vector<cmSourceFile*>::const_iterator si = sourceFiles.begin(); \
+ si != sourceFiles.end(); ++si) { \
+ visitor.Accept(*si); \
+ } \
+ }
+/* clang-format on */
#define IMPLEMENT_VISIT(DATA) \
IMPLEMENT_VISIT_IMPL(DATA, EMPTY) \