Skip to content
Commit 6a71f364 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Fix for PR34014: OpenMP 4.5: Target construct in static method

of class fails to map class static variable.

If the global variable is captured and it has several redeclarations,
sometimes it may lead to a compiler crash. Patch fixes this by working
only with canonical declarations.

llvm-svn: 311479
parent 6bfeba24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment