]> granicus.if.org Git - clang/commitdiff
Add FIXMEs for MSVC 2013 hacks in r277211. NFC.
authorPaul Robinson <paul.robinson@sony.com>
Mon, 1 Aug 2016 22:12:46 +0000 (22:12 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Mon, 1 Aug 2016 22:12:46 +0000 (22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277396 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGOpenMPRuntime.cpp

index b3ea687233479d89bad15198577ea4f188417a5b..afa823c5b600b08841993bb4fcf78b26b632d031 100644 (file)
@@ -5489,6 +5489,7 @@ public:
       Info[VD].push_back({L, MapType, MapModifier, ReturnDevicePointer});
     };
 
+    // FIXME: MSVC 2013 seems to require this-> to find member CurDir.
     for (auto *C : this->CurDir.getClausesOfKind<OMPMapClause>())
       for (auto L : C->component_lists())
         InfoGen(L.first, L.second, C->getMapType(), C->getMapTypeModifier(),
@@ -5506,6 +5507,7 @@ public:
     // entries as such. If there is no map information for an entry in the
     // use_device_ptr list, we create one with map type 'alloc' and zero size
     // section. It is the user fault if that was not mapped before.
+    // FIXME: MSVC 2013 seems to require this-> to find member CurDir.
     for (auto *C : this->CurDir.getClausesOfKind<OMPUseDevicePtrClause>())
       for (auto L : C->component_lists()) {
         assert(!L.second.empty() && "Not expecting empty list of components!");
@@ -5538,6 +5540,7 @@ public:
 
         // We didn't find any match in our map information - generate a zero
         // size array section.
+        // FIXME: MSVC 2013 seems to require this-> to find member CGF.
         llvm::Value *Ptr =
             this->CGF
                 .EmitLoadOfLValue(this->CGF.EmitLValue(IE), SourceLocation())
@@ -5558,6 +5561,7 @@ public:
 
         // Remember the current base pointer index.
         unsigned CurrentBasePointersIdx = BasePointers.size();
+        // FIXME: MSVC 2013 seems to require this-> to find the member method.
         this->generateInfoForComponentList(L.MapType, L.MapTypeModifier,
                                            L.Components, BasePointers, Pointers,
                                            Sizes, Types, IsFirstComponentList);
@@ -5637,6 +5641,7 @@ public:
       return;
     }
 
+    // FIXME: MSVC 2013 seems to require this-> to find member CurDir.
     for (auto *C : this->CurDir.getClausesOfKind<OMPMapClause>())
       for (auto L : C->decl_component_lists(VD)) {
         assert(L.first == VD &&