I'd say that the SourceLocation::isInvalid is more confusing than useful.
Not sure why it was added in the first place.
On Sat, Oct 3, 2015 at 12:46 PM, Yaron Keren via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: yrnkrn
> Date: Sat Oct 3 05:46:20 2015
> New Revision: 249235
>
> UR
Author: yrnkrn
Date: Sat Oct 3 05:46:20 2015
New Revision: 249235
URL: http://llvm.org/viewvc/llvm-project?rev=249235&view=rev
Log:
Replace double negation of !FileID.isInvalid() with FileID.isValid().
+couple more of double-negated !SourceLocation.isInvalid() unfixed in r249228.
Modified:
Author: yrnkrn
Date: Sat Oct 3 05:46:20 2015
New Revision: 249235
URL: http://llvm.org/viewvc/llvm-project?rev=249235&view=rev
Log:
Replace double negation of !FileID.isInvalid() with FileID.isValid().
+couple more of double-negated !SourceLocation.isInvalid() unfixed in r249228.
Modified: