Skip to content

Commit 9fcd0e4

Browse files
committed
Add comment
1 parent a0bf8e2 commit 9fcd0e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/ARM/ARMSubtarget.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ class ARMSubtarget : public ARMGenSubtargetInfo {
334334

335335
const Triple &getTargetTriple() const { return TargetTriple; }
336336

337+
/// @{
338+
/// These properties are per-module, please use the TargetMachine TargetTriple.
337339
bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); }
338340
bool isTargetIOS() const { return TargetTriple.isiOS(); }
339341
bool isTargetWatchOS() const { return TargetTriple.isWatchOS(); }
@@ -359,6 +361,7 @@ class ARMSubtarget : public ARMGenSubtargetInfo {
359361
bool isTargetEHABICompatible() const {
360362
return TargetTriple.isTargetEHABICompatible();
361363
}
364+
/// @}
362365

363366
bool isReadTPSoft() const {
364367
return !(isReadTPTPIDRURW() || isReadTPTPIDRURO() || isReadTPTPIDRPRW());

0 commit comments

Comments
 (0)