Add functions to the ban list
authorChris Lattner <sabre@nondot.org>
Fri, 31 Jan 2003 23:57:10 +0000 (23:57 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 31 Jan 2003 23:57:10 +0000 (23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5450 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index d1c96261dccac49c3d048570e902a7fde2ca3c2c..ef3bf387ef9ffeef723a75232252627087c87016 100644 (file)
@@ -33,7 +33,8 @@ static inline bool isCompleteNode(DSNode *N) {
       GlobalValue &FI = cast<Function>(*Callees[i]);
       if (FI.getName() != "printf"  && FI.getName() != "sscanf" &&
           FI.getName() != "fprintf" && FI.getName() != "open" &&
-          FI.getName() != "sprintf" && FI.getName() != "fputs")
+          FI.getName() != "sprintf" && FI.getName() != "fputs" &&
+          FI.getName() != "fscanf")
         return false;  // External function found...
     }
   return true;  // otherwise ok