[ms-inline asm] Use more idiomatic logic.  Thanks, Bill.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161526 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index 8ba28b1..7a37c1c 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -2789,7 +2789,7 @@
   // Assume simple asm stmt until we parse a non-register identifer.
   IsSimple = true;
 
-  if (!AsmToks.size())
+  if (AsmToks.empty())
     return "";
 
   std::string Res;
@@ -2844,7 +2844,7 @@
 static std::string buildMSAsmString(Sema &SemaRef,
                                     ArrayRef<Token> AsmToks,
                                     ArrayRef<unsigned> LineEnds) {
-  if (!AsmToks.size())
+  if (AsmToks.empty())
     return "";
 
   SmallString<512> Asm;