]> granicus.if.org Git - clang/commitdiff
Change CRLF line endings to LF.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 14 May 2008 10:49:47 +0000 (10:49 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 14 May 2008 10:49:47 +0000 (10:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51103 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/IdentifierResolver.h

index da1327be485a75bd2ef0ceb2d20c7e2e96e61117..7ba252b5bc169d4350846775bfb94529b4833bcf 100644 (file)
@@ -321,13 +321,13 @@ public:
     return ctx_iterator(IDI->decls_begin());
   }
 
-  /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true\r
-  /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns\r
-  /// true if 'D' belongs to the given declaration context.\r
+  /// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
+  /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
+  /// true if 'D' belongs to the given declaration context.
   static bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = 0) {
-    if (Ctx->isFunctionOrMethod())\r
-      return S->isDeclScope(D);\r
-\r
+    if (Ctx->isFunctionOrMethod())
+      return S->isDeclScope(D);
+
     return LookupContext(D) == LookupContext(Ctx);
   }