DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables,
but the results are imperfect.
For posterity, I did:
cat <<EOF > $cmdfile
s/DeclaratorInfo/TypeSourceInfo/g
s/DInfo/TInfo/g
s/TypeTypeSourceInfo/TypeSourceInfo/g
s/SourceTypeSourceInfo/TypeSourceInfo/g
EOF
find lib -name '*.cpp' -not -path 'lib/Parse/*' -exec sed -i '' -f $cmdfile '{}' \;
find lib -name '*.h' -exec sed -i '' -f $cmdfile '{}' \;
find include -name '*.h' -not -path 'include/clang/Parse/*' -not -path 'include/clang/Basic/*' -exec sed -i '' -f $cmdfile '{}' \;
llvm-svn: 90743
This commit is contained in:
@@ -262,8 +262,8 @@ NonTypeTemplateParmDecl *
|
||||
NonTypeTemplateParmDecl::Create(ASTContext &C, DeclContext *DC,
|
||||
SourceLocation L, unsigned D, unsigned P,
|
||||
IdentifierInfo *Id, QualType T,
|
||||
DeclaratorInfo *DInfo) {
|
||||
return new (C) NonTypeTemplateParmDecl(DC, L, D, P, Id, T, DInfo);
|
||||
TypeSourceInfo *TInfo) {
|
||||
return new (C) NonTypeTemplateParmDecl(DC, L, D, P, Id, T, TInfo);
|
||||
}
|
||||
|
||||
SourceLocation NonTypeTemplateParmDecl::getDefaultArgumentLoc() const {
|
||||
|
||||
Reference in New Issue
Block a user