]> granicus.if.org Git - clang/commit
Add isFirstDecl to DecBase too and use it instead of getPreviousDecl() == 0.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 19 Oct 2013 02:13:21 +0000 (02:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 19 Oct 2013 02:13:21 +0000 (02:13 +0000)
commit7693b32af6863c63fcaf4de087760740ee675f71
tree3324954c2baebe335aa6f2075a774c81c57da8b8
parenta36ddbe8bf0c7269656f554288703afbb2b0a034
Add isFirstDecl to DecBase too and use it instead of getPreviousDecl() == 0.

Redeclarable already had a isFirstDecl, but it was missing from DeclBase.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193027 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclBase.h
include/clang/AST/DeclObjC.h
include/clang/AST/DeclTemplate.h
lib/AST/ASTContext.cpp
lib/Sema/SemaDecl.cpp
lib/Serialization/ASTWriter.cpp