Lines Matching refs:guard
104 def process_guard(guard):
108 if guard.startswith('ndef '):
109 guard = guard.replace('ndef ', '!defined (', 1) + ')'
110 elif guard.startswith('def '):
111 guard = guard.replace('def ', 'defined (', 1) + ')'
112 return guard
169 # Calculate the most compact guard, i.e., if a magic string is
184 guards = {tuple(sorted(guard)) for guard in guards if guard is not None}
196 return ' \\\n|| '.join(' && '.join(g.strip() for g in sorted(guard))
197 for guard in sorted(guards))