Commit c652fa72 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix coverity check CID 170379: Unchecked return value (CHECKED_RETURN)

Calling TraverseDecl without checking return value.

parent e67d069d
......@@ -69,7 +69,8 @@ public:
virtual void HandleTranslationUnit(clang::ASTContext &Context)
if (!Visitor.TraverseDecl(Context.getTranslationUnitDecl()))
llvm::errs() << "could not parse file";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment