summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-08-20 19:07:21 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-08-20 19:07:21 +0000
commit5321e94281f4944d05ab5f90208933afc1e7cae8 (patch)
tree27d336726fab9aceb1e6d8ca85e56f8928e1877d /lib/CodeGen/CGExpr.cpp
parentc84ed54f9786638c228fdc9b4db9920fa676d48d (diff)
downloadclang-5321e94281f4944d05ab5f90208933afc1e7cae8.tar.gz
clang-5321e94281f4944d05ab5f90208933afc1e7cae8.tar.bz2
clang-5321e94281f4944d05ab5f90208933afc1e7cae8.tar.xz
Adding Replacement serialization support
Adding a new data structure for storing the Replacements generated for a single translation unit. Structure contains a vector of Replacements as well a field indicating the main source file of the translation unit. An optional 'Context' field allows for tools to provide any information they want about the context the Replacements were generated in. This context is printed, for example, when detecting conflicts during Replacement deduplication. YAML serialization for this data structure is implemented in this patch. Tests are included. Differential Revision: http://llvm-reviews.chandlerc.com/D1422 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions