Post-commit review coding style change: renaming HasAttribute to hasAttribute. No functional changes.

llvm-svn: 205201
This commit is contained in:
Aaron Ballman 2014-03-31 15:26:40 +00:00
parent a567da5a36
commit 759c71d621
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ enum class AttrSyntax {
/// \brief Return true if we recognize and implement the attribute specified by
/// the given information.
bool HasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
bool hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
const IdentifierInfo *Attr, const llvm::Triple &T,
const LangOptions &LangOpts);

View File

@ -3,7 +3,7 @@
#include "llvm/ADT/StringSwitch.h"
using namespace clang;
bool clang::HasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
bool clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
const IdentifierInfo *Attr, const llvm::Triple &T,
const LangOptions &LangOpts) {
StringRef Name = Attr->getName();

View File

@ -1386,7 +1386,7 @@ void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
// Check for a builtin is trivial.
Value = FeatureII->getBuiltinID() != 0;
} else if (II == Ident__has_attribute)
Value = HasAttribute(AttrSyntax::Generic, nullptr, FeatureII,
Value = hasAttribute(AttrSyntax::Generic, nullptr, FeatureII,
getTargetInfo().getTriple(), getLangOpts());
else if (II == Ident__has_extension)
Value = HasExtension(*this, FeatureII);