MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / InAsmBlock

Method InAsmBlock

util/cpplint.py:2370–2376  ·  view source on GitHub ↗

Check if we are currently one level inside an inline ASM block. Returns: True if the top of the stack is a block containing inline ASM.

(self)

Source from the content-addressed store, hash-verified

2368 return self.stack and isinstance(self.stack[-1], _ClassInfo)
2369
2370 def InAsmBlock(self):
2371 """Check if we are currently one level inside an inline ASM block.
2372
2373 Returns:
2374 True if the top of the stack is a block containing inline ASM.
2375 """
2376 return self.stack and self.stack[-1].inline_asm != _NO_ASM
2377
2378 def InTemplateArgumentList(self, clean_lines, linenum, pos):
2379 """Check if current position is inside template argument list.

Callers 1

ProcessLineFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected