[cfe-commits] r169137 - in /cfe/trunk: include/clang/Format/ include/clang/Format/Format.h lib/CMakeLists.txt lib/Format/ lib/Format/CMakeLists.txt lib/Format/Format.cpp lib/Format/Makefile lib/Format/UnwrappedLineParser.cpp lib/Format/UnwrappedLineParser.h lib/Makefile unittests/CMakeLists.txt unittests/Format/ unittests/Format/CMakeLists.txt unittests/Format/FormatTest.cpp unittests/Format/Makefile

Sean Silva silvas at purdue.edu
Mon Dec 3 10:38:03 PST 2012


+##===- clang/lib/Tooling/Makefile ---------------------------*-
Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+CLANG_LEVEL := ../..
+LIBRARYNAME := clangTooling
+
+include $(CLANG_LEVEL)/Makefile

s/Tooling/Format/

On Mon, Dec 3, 2012 at 1:32 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> Hello Daniel,
>
> I'm happy to see this committed!
>
> On Mon, Dec 3, 2012 at 8:12 PM, Daniel Jasper <djasper at google.com> wrote:
>> Added: cfe/trunk/include/clang/Format/Format.h
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Format/Format.h?rev=169137&view=auto
>> ==============================================================================
>> --- cfe/trunk/include/clang/Format/Format.h (added)
>> +++ cfe/trunk/include/clang/Format/Format.h Mon Dec  3 12:12:45 2012
>> @@ -0,0 +1,75 @@
>> +//===--- Format.h - Format C++ code -----------------------------*- C++ -*-===//
>> +//
>> +//                     The LLVM Compiler Infrastructure
>> +//
>> +// This file is distributed under the University of Illinois Open Source
>> +// License. See LICENSE.TXT for details.
>> +//
>> +//===----------------------------------------------------------------------===//
>> +///
>> +/// \file
>> +/// Various functions to configurably format source code.
>> +///
>> +/// This is EXPERIMENTAL code under heavy development. It is not in a state yet,
>> +/// where it can be used to format real code.
>> +///
>> +//===----------------------------------------------------------------------===//
>> +
>> +#ifndef LLVM_CLANG_FORMAT_FORMAT_H_
>> +#define LLVM_CLANG_FORMAT_FORMAT_H
>
> Mismatched macro names.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list