[Clang] Skip adding begin source location for PragmaLoopHint'd loop when
authorYuanfang Chen <yuanfang.chen@sony.com>
Tue, 16 Jun 2020 17:13:44 +0000 (10:13 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Tue, 16 Jun 2020 17:19:36 +0000 (10:19 -0700)
commit4676cf444ea2678660ee48279be99efde4bf60e9
treeeb9132d4cf7bea583532890b7206ca30caf3909e
parent7caa9caa80fe508a618095fea6da2c680651fb3a
[Clang] Skip adding begin source location for PragmaLoopHint'd loop when
the range start is already set

The range start could be set already in some invalid cases. Fixes
PR46336.
clang/lib/Parse/ParseStmt.cpp