1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Update comments to match reality.

llvm-svn: 210125
This commit is contained in:
Rafael Espindola 2014-06-03 20:25:26 +00:00
parent c2b41dcccf
commit 048d890988

View File

@ -628,13 +628,13 @@ static bool isValidVisibilityForLinkage(unsigned V, unsigned L) {
} }
/// ParseAlias: /// ParseAlias:
/// ::= GlobalVar '=' OptionalVisibility OptionalDLLStorageClass 'alias' /// ::= GlobalVar '=' OptionalVisibility OptionalDLLStorageClass
/// OptionalLinkage Aliasee /// OptionalThreadLocal 'alias' OptionalLinkage Aliasee
/// ///
/// Aliasee /// Aliasee
/// ::= TypeAndValue /// ::= TypeAndValue
/// ///
/// Everything through DLL storage class has already been parsed. /// Everything through OptionalThreadLocal has already been parsed.
/// ///
bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc,
unsigned Visibility, unsigned DLLStorageClass, unsigned Visibility, unsigned DLLStorageClass,
@ -729,7 +729,7 @@ bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc,
/// OptionalThreadLocal OptionalAddrSpace OptionalUnNammedAddr /// OptionalThreadLocal OptionalAddrSpace OptionalUnNammedAddr
/// OptionalExternallyInitialized GlobalType Type Const /// OptionalExternallyInitialized GlobalType Type Const
/// ///
/// Everything up to and including OptionalDLLStorageClass has been parsed /// Everything up to and including OptionalThreadLocal has been parsed
/// already. /// already.
/// ///
bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc, bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,