Reduce initial Sema memory consumption by 400KB. By Elisavet Sakellari.
authorAxel Naumann <Axel.Naumann@cern.ch>
Wed, 3 Feb 2016 10:45:22 +0000 (10:45 +0000)
committerAxel Naumann <Axel.Naumann@cern.ch>
Wed, 3 Feb 2016 10:45:22 +0000 (10:45 +0000)
llvm-svn: 259637

clang/lib/Sema/SemaOpenMP.cpp

index f61d959..b219e92 100644 (file)
@@ -123,7 +123,7 @@ private:
           CancelRegion(false), AssociatedLoops(1), InnerTeamsRegionLoc() {}
   };
 
-  typedef SmallVector<SharingMapTy, 64> StackTy;
+  typedef SmallVector<SharingMapTy, 4> StackTy;
 
   /// \brief Stack of used declaration and their data-sharing attributes.
   StackTy Stack;