mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
Whitespace cleanup.
llvm-svn: 176896
This commit is contained in:
parent
c782242a12
commit
bf5c33b752
@ -1516,7 +1516,7 @@ void VarDecl::setStorageClass(StorageClass SC) {
|
||||
assert(isLegalForVariable(SC));
|
||||
if (getStorageClass() != SC)
|
||||
ClearLinkageCache();
|
||||
|
||||
|
||||
VarDeclBits.SClass = SC;
|
||||
}
|
||||
|
||||
@ -2130,7 +2130,7 @@ void FunctionDecl::setStorageClass(StorageClass SC) {
|
||||
assert(isLegalForFunction(SC));
|
||||
if (getStorageClass() != SC)
|
||||
ClearLinkageCache();
|
||||
|
||||
|
||||
SClass = SC;
|
||||
}
|
||||
|
||||
@ -2864,8 +2864,8 @@ TagDecl* TagDecl::getCanonicalDecl() {
|
||||
return getFirstDeclaration();
|
||||
}
|
||||
|
||||
void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) {
|
||||
TypedefNameDeclOrQualifier = TDD;
|
||||
void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) {
|
||||
TypedefNameDeclOrQualifier = TDD;
|
||||
if (TypeForDecl)
|
||||
const_cast<Type*>(TypeForDecl)->ClearLinkageCache();
|
||||
ClearLinkageCache();
|
||||
|
@ -7153,7 +7153,7 @@ void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init,
|
||||
VDecl->setTypeSourceInfo(DeducedType);
|
||||
VDecl->setType(DeducedType->getType());
|
||||
VDecl->ClearLinkageCache();
|
||||
|
||||
|
||||
// In ARC, infer lifetime.
|
||||
if (getLangOpts().ObjCAutoRefCount && inferObjCARCLifetime(VDecl))
|
||||
VDecl->setInvalidDecl();
|
||||
|
Loading…
Reference in New Issue
Block a user