[llvm] [clang] [flang] [flang][OpenMP] Add semantic check for declare target (PR #72770)

Sergio Afonso via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 03:15:23 PST 2023


================
@@ -590,6 +590,8 @@ class ClauseProcessor {
   bool processSectionsReduction(mlir::Location currentLocation) const;
   bool processTo(llvm::SmallVectorImpl<DeclareTargetCapturePair> &result) const;
   bool
+  processEnter(llvm::SmallVectorImpl<DeclareTargetCapturePair> &result) const;
----------------
skatrak wrote:

Nit: It would be good to keep the alphabetic order of declarations here and definitions below, so I'd add this between `processDeviceType` and `processFinal`.

https://github.com/llvm/llvm-project/pull/72770


More information about the cfe-commits mailing list