mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Reorder the DIFile parameter in DINameSpace
Moving the DIFile parameter to immediately proceed the tag so that it will be a common prefix with other DIScopes (once the DIFile is replaced with the raw file/directory pair). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -644,13 +644,13 @@ namespace llvm {
|
||||
void printInternal(raw_ostream &OS) const;
|
||||
public:
|
||||
explicit DINameSpace(const MDNode *N = 0) : DIScope(N) {}
|
||||
DIScope getContext() const { return getFieldAs<DIScope>(1); }
|
||||
StringRef getName() const { return getStringField(2); }
|
||||
DIScope getContext() const { return getFieldAs<DIScope>(2); }
|
||||
StringRef getName() const { return getStringField(3); }
|
||||
StringRef getDirectory() const {
|
||||
return getFieldAs<DIFile>(3).getDirectory();
|
||||
return getFieldAs<DIFile>(1).getDirectory();
|
||||
}
|
||||
StringRef getFilename() const {
|
||||
return getFieldAs<DIFile>(3).getFilename();
|
||||
return getFieldAs<DIFile>(1).getFilename();
|
||||
}
|
||||
unsigned getLineNumber() const { return getUnsignedField(4); }
|
||||
bool Verify() const;
|
||||
|
Reference in New Issue
Block a user