aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
commitbbd05eb0c32a9614f012a1d9b75cef736a1d4150 (patch)
tree590d19b96061666eeadf6ae36b907e05f6b79609 /build/cxx
parent4372f041bb7401c3adc2d5710566b13f64722102 (diff)
Clean up clang warnings
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index 94433b9..eb61bd1 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -451,9 +451,9 @@ namespace build
// Ignore some known target types (headers).
//
if (p.type.id == typeid (h) ||
- cp.type.id == typeid (cxx) && (p.type.id == typeid (hxx) ||
- p.type.id == typeid (ixx) ||
- p.type.id == typeid (txx)))
+ (cp.type.id == typeid (cxx) && (p.type.id == typeid (hxx) ||
+ p.type.id == typeid (ixx) ||
+ p.type.id == typeid (txx))))
continue;
if (p.type.id == typeid (cxx))