Don't duplicate function names. Thanks to Jordan Rose for pointing it out.

llvm-svn: 176609
This commit is contained in:
Rafael Espindola 2013-03-07 02:43:24 +00:00
parent d50cff6dc9
commit 2199c126f5
1 changed files with 4 additions and 4 deletions

View File

@ -798,15 +798,15 @@ public:
return getStorageClass() == SC_Static && !isFileVarDecl();
}
/// hasExternalStorage - Returns true if a variable has extern or
/// __private_extern__ storage.
/// \brief Returns true if a variable has extern or __private_extern__
/// storage.
bool hasExternalStorage() const {
return getStorageClass() == SC_Extern ||
getStorageClass() == SC_PrivateExtern;
}
/// hasExternalStorageAsWritten - Returns true if a variable was written
/// with extern or __private_extern__ storage.
/// \brief Returns true if a variable was written with extern or
/// __private_extern__ storage.
bool hasExternalStorageAsWritten() const {
return getStorageClassAsWritten() == SC_Extern ||
getStorageClassAsWritten() == SC_PrivateExtern;