Skip to content
  1. Dec 26, 2013
  2. Dec 25, 2013
  3. Dec 24, 2013
  4. Dec 23, 2013
  5. Dec 22, 2013
    • Alp Toker's avatar
      Define LLVM_HAS_STRONG_ENUMS · 13daf152
      Alp Toker authored
      This is needed to guard an upcoming feature in clang until the C++11 transition
      is complete, at which point it can be removed.
      
      llvm-svn: 197895
      13daf152
    • Yaron Keren's avatar
      The count() function for STL datatypes returns unsigned, even · 9758f4d2
      Yaron Keren authored
      where it's only bool-like 1/0 result like std::set.count(). 
      
      Some of the LLVM ADT already return unsigned count(), while
      others return bool count().
      
      This patch modifies SmallPtrSet, SmallSet, SparseSet count()
      to return unsigned instead of bool:
      
       1 instead of true
       0 instead of false
      
      More ADT to follow. 
      
      llvm-svn: 197879
      9758f4d2
Loading