forked from OSchip/llvm-project
Don't duplicate function names. Thanks to Jordan Rose for pointing it out.
llvm-svn: 176609
This commit is contained in:
parent
d50cff6dc9
commit
2199c126f5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue