mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Add support to let FE encode method access specifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -400,7 +400,20 @@ namespace llvm {
|
||||
return getUnsignedField(14);
|
||||
return (getUnsignedField(14) & FlagArtificial) != 0;
|
||||
}
|
||||
|
||||
/// isPrivate - Return true if this subprogram has "private"
|
||||
/// access specifier.
|
||||
bool isPrivate() const {
|
||||
if (getVersion() <= llvm::LLVMDebugVersion8)
|
||||
return false;
|
||||
return (getUnsignedField(14) & FlagPrivate) != 0;
|
||||
}
|
||||
/// isProtected - Return true if this subprogram has "protected"
|
||||
/// access specifier.
|
||||
bool isProtected() const {
|
||||
if (getVersion() <= llvm::LLVMDebugVersion8)
|
||||
return false;
|
||||
return (getUnsignedField(14) & FlagProtected) != 0;
|
||||
}
|
||||
unsigned isOptimized() const;
|
||||
|
||||
StringRef getFilename() const {
|
||||
|
Reference in New Issue
Block a user