compilable to llvm r193280

getFirstDeclaration() was renamed to getFirstDecl() in r192900.
Thanks for the patch provided by Markus Trippelsdorf!