diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-18 23:02:59 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-18 23:02:59 +0000 |
| commit | 9b7ab87738a6e4225005cff36e7aa1e735df5236 (patch) | |
| tree | 27497a1cc82347f49b5669a2e807a97152c3520b /clang/tools/libclang/CXTranslationUnit.h | |
| parent | dfc9430bc7536c9f4599d586afce43606337dedb (diff) | |
| download | bcm5719-llvm-9b7ab87738a6e4225005cff36e7aa1e735df5236.tar.gz bcm5719-llvm-9b7ab87738a6e4225005cff36e7aa1e735df5236.zip | |
This is the libclang patch providing minimal API to
use clang's formatter. Currently, formatter is used
to format declaration tags for xml comments. Since formatter
is in flux and its change will break several of the clang comment
tests, only a single tests is formatted using this facility.
Doug has reviewed and approved it for check-in.
llvm-svn: 170467
Diffstat (limited to 'clang/tools/libclang/CXTranslationUnit.h')
| -rw-r--r-- | clang/tools/libclang/CXTranslationUnit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXTranslationUnit.h b/clang/tools/libclang/CXTranslationUnit.h index 37789aafb9d..1c713bf2d60 100644 --- a/clang/tools/libclang/CXTranslationUnit.h +++ b/clang/tools/libclang/CXTranslationUnit.h @@ -21,6 +21,8 @@ struct CXTranslationUnitImpl { void *StringPool; void *Diagnostics; void *OverridenCursorsPool; + void *FormatContext; + unsigned FormatInMemoryUniqueId; }; } |

