[OPENMP]Use cast instead dyn_cast, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Dec 2019 19:15:38 +0000 (14:15 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Dec 2019 19:16:52 +0000 (14:16 -0500)
commitf17a1d8b283d227dcbc88caf94acf55abc91c1f9
tree0c58fbf180e493f0b4294d752b675774318fd03d
parent478541a6da59fa3eadab98cabdcb0126fad3fdb5
[OPENMP]Use cast instead dyn_cast, NFC.

Here the expression is always a DeclRefExpr, no need to use dyn_cast.
clang/lib/Sema/SemaOpenMP.cpp