----- Original Message -----
> From: "Alexey Bataev" <[email protected]>
> To: [email protected], [email protected], [email protected], "a bataev" 
> <[email protected]>
> Cc: [email protected], "wei pan" <[email protected]>
> Sent: Tuesday, April 23, 2013 11:53:40 PM
> Subject: [PATCH] OpenMP threadprivate with qualified names.
> 
> Hi doug.gregor, gribozavr, hfinkel,
> 
> Hello Doug, Hal, Dmitri,
> Here is a patch with support of qualified names in '#pragma omp
> threadprivate'.

Alexey, good to see this!

To provide everyone else with some context: this is a change in behavior from 
the initial threadprivate implementation (which disallowed qualified ids) 
motivated by a conversation we had with the OpenMP language committee. The 
consensus was that qualified ids should be allowed, albeit in this limited 
fashion. This is implied by the syntax summary appendix in the new OpenMP 4 
(draft) specification, although had not been explicitly stated in the normative 
text (thus the confusion on our part).

 -Hal

> 
> PS. This patch was the part of '#pragma omp parallel', but I think it
> would be better to review it separately.
> 
> Best regards,
> Alexey Bataev
> =============
> Software Engineer
> Intel Compiler Team
> Intel Corp.
> 
> http://llvm-reviews.chandlerc.com/D717
> 
> Files:
>   test/OpenMP/predefined_macro.c
>   test/OpenMP/threadprivate_messages.cpp
>   include/clang/Basic/DiagnosticParseKinds.td
>   include/clang/Basic/DiagnosticSemaKinds.td
>   include/clang/Sema/Sema.h
>   include/clang/AST/DeclOpenMP.h
>   include/clang/Parse/Parser.h
>   lib/Basic/OpenMPKinds.cpp
>   lib/Sema/SemaOpenMP.cpp
>   lib/Sema/SemaTemplateInstantiateDecl.cpp
>   lib/AST/DeclPrinter.cpp
>   lib/AST/DeclOpenMP.cpp
>   lib/Parse/ParseOpenMP.cpp
>   lib/Serialization/ASTReaderDecl.cpp
> 
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to