[flang-commits] [flang] 3ce5f95 - fix clang build

peter klausler via flang-commits flang-commits at lists.llvm.org
Thu Nov 12 11:39:02 PST 2020


Author: peter klausler
Date: 2020-11-12T11:38:20-08:00
New Revision: 3ce5f957165d01b5123dfc62429f5ed1d1b6103d

URL: https://github.com/llvm/llvm-project/commit/3ce5f957165d01b5123dfc62429f5ed1d1b6103d
DIFF: https://github.com/llvm/llvm-project/commit/3ce5f957165d01b5123dfc62429f5ed1d1b6103d.diff

LOG: fix clang build

Added: 
    

Modified: 
    flang/runtime/allocatable.cpp

Removed: 
    


################################################################################
diff  --git a/flang/runtime/allocatable.cpp b/flang/runtime/allocatable.cpp
index 3e33caca33d1..18dc93cdbc6f 100644
--- a/flang/runtime/allocatable.cpp
+++ b/flang/runtime/allocatable.cpp
@@ -36,13 +36,13 @@ void RTNAME(AllocatableInitDerived)(Descriptor &descriptor,
 }
 
 void RTNAME(AllocatableAssign)(Descriptor &to, const Descriptor & /*from*/) {
-  INTERNAL_CHECK(!"AllocatableAssign is not yet implemented");
+  INTERNAL_CHECK(false); // AllocatableAssign is not yet implemented
 }
 
 int RTNAME(MoveAlloc)(Descriptor &to, const Descriptor & /*from*/,
     bool /*hasStat*/, Descriptor * /*errMsg*/, const char * /*sourceFile*/,
     int /*sourceLine*/) {
-  INTERNAL_CHECK(!"MoveAlloc is not yet implemented");
+  INTERNAL_CHECK(false); // MoveAlloc is not yet implemented
   return StatOk;
 }
 


        


More information about the flang-commits mailing list