Class: AdLint::Cpp::StdcVersionMacro

Inherits:
SpecialMacro show all
Defined in:
lib/adlint/cpp/macro.rb

Instance Attribute Summary

Attributes inherited from SpecialMacro

#replacement_list

Attributes inherited from Macro

#define_line

Instance Method Summary collapse

Methods inherited from SpecialMacro

#expand

Methods inherited from ObjectLikeMacro

#expand, #function_like?, #replaceable_size

Methods inherited from Macro

#expand, #function_like?, #location, #name, #replacement_list

Methods included from LocationHolder

#analysis_target?

Constructor Details

#initializeStdcVersionMacro

Returns a new instance of StdcVersionMacro.



489
490
491
# File 'lib/adlint/cpp/macro.rb', line 489

def initialize
  super("__STDC_VERSION__")
end