[PATCH] clang-format VS plugin: bake clang-format.exe into the plug-in to make it self-contained

Hans Wennborg hans at chromium.org
Mon Dec 2 09:45:53 PST 2013


On Mon, Dec 2, 2013 at 9:33 AM, Alp Toker <alp at nuanti.com> wrote:
> There are some remarks that going through Uri doesn't escape well. How about
> something like this (untested) to directly get the path of the assembly
> defining ClangFormatPackage?
>
> |string fullPath = Path.GetDirectoryName(
> typeof(ClangFormatPackage).Assembly.Location );|

Thanks! That's much nicer. r196124.

 - Hans



More information about the cfe-commits mailing list