[cfe-dev] [Analyzer] ASTMergeAction to dynamically merge in	translation units
    scott constable 
    sdconsta at syr.edu
       
    Thu Jul 16 08:15:09 PDT 2015
    
    
  
Hi All,
I'm currently developing a Clang checker, and I would very much like for it
to be able to perform context-sensitive analysis across translation units
in the following way. Whenever a function call is encountered whose
definition is outside the scope of the current translation unit,
dynamically merge in its corresponding AST (i.e. by loading a file from
disk and using ASTMergeAction). Then proceed to analyze the merged-in
function while preserving the context and program state from the current
translation unit.
Does anyone know if this is possible? Thanks in advance.
~Scott Constable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150716/847f9f53/attachment.html>
    
    
More information about the cfe-dev
mailing list