HomePhabricator

Fix crash in redundant-void-arg check.

Description

Fix crash in redundant-void-arg check.

Summary:
When applying this check to the unit tests, it would hit an assertion:
llvm/tools/clang/lib/Lex/Lexer.cpp:1056: clang::SourceLocation clang::Lexer::getSourceLocation(const char*, unsigned int) const: Assertion `PP && "This doesn't work on raw lexers"' failed.

Reviewers: klimek, LegalizeAdulthood, alexfh

Subscribers: cfe-commits, alexfh

Differential Revision: http://reviews.llvm.org/D14204

Details

Committed
angelgarciaNov 2 2015, 3:39 AM
Differential Revision
D14204: Fix crash in redundant-void-arg check.
Parents
rL251791: ScopInfo: Bail out in case of mismatching array dimension sizes
Branches
Unknown
Tags
Unknown