[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
Dmitri Gribenko
gribozavr at gmail.com
Mon Dec 3 10:32:03 PST 2012
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>*/
More information about the cfe-commits
mailing list