"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/Preprocessor/macro_not_define.c" between
cfe-8.0.1.src.tar.xz and cfe-9.0.0.src.tar.xz

About: Clang is an LLVM front end for the C, C++, and Objective-C languages. Clang aims to provide a better user experience through expressive diagnostics, a high level of conformance to language standards, fast compilation, and low memory use.

macro_not_define.c  (cfe-8.0.1.src.tar.xz):macro_not_define.c  (cfe-9.0.0.src.tar.xz)
// RUN: %clang_cc1 -E %s | grep '^ # define X 3$' // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace
// CHECK: # define X 3
#define H # #define H #
#define D define #define D define
#define DEFINE(a, b) H D a b #define DEFINE(a, b) H D a b
DEFINE(X, 3) DEFINE(X, 3)
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)