summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Frontend/BoostConAction.cpp2
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/BoostConAction.cpp b/clang/lib/Frontend/BoostConAction.cpp
index 799ec92f016..4a12ff2ebc9 100644
--- a/clang/lib/Frontend/BoostConAction.cpp
+++ b/clang/lib/Frontend/BoostConAction.cpp
@@ -23,7 +23,7 @@ namespace {
bool VisitCXXRecordDecl(CXXRecordDecl *D) {
std::cout << D->getNameAsString() << std::endl;
- return false;
+ return true;
}
};
}
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 31a1b79246e..bf331c97bda 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -7681,7 +7681,7 @@ bool MarkReferencedDecls::TraverseRecordType(RecordType *T) {
Args.flat_size());
}
- return false;
+ return true;
}
void Sema::MarkDeclarationsReferencedInType(SourceLocation Loc, QualType T) {
OpenPOWER on IntegriCloud