]> granicus.if.org Git - clang/commit
Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).
authorCraig Topper <craig.topper@gmail.com>
Mon, 15 Jul 2013 03:38:40 +0000 (03:38 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 15 Jul 2013 03:38:40 +0000 (03:38 +0000)
commitb960232518a1cd79c5f64ab5ef54c88e34660191
tree7f94ec980cc97100437556bbf15be79bf6827d81
parent0f855a9c2517fc80803ab81a4aa0bb015918cf21
Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/CommentCommandTraits.cpp
lib/Basic/DiagnosticIDs.cpp
lib/CodeGen/CGRTTI.cpp
lib/Driver/CC1AsOptions.cpp
lib/Driver/DriverOptions.cpp
lib/Driver/Types.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/TreeTransform.h