Renamed format "signed decimal" to be "decimal". "unsigned decimal" remains unchanged: - the name "signed decimal" was interfering with symbol %S (use summary) in summary strings. because of the way summary strings are implemented, this did not really lead to a bug, but simply to performing more steps than necessary to display a summary. this is fixed. Documentation improvements (more on synthetic children, some information on filters). This is still a WIP. llvm-svn: 138384
31 lines
667 B
C++
31 lines
667 B
C++
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <stdio.h>
|
|
|
|
struct contained
|
|
{
|
|
int first;
|
|
int second;
|
|
};
|
|
|
|
struct container
|
|
{
|
|
int scalar;
|
|
struct contained *pointer;
|
|
};
|
|
|
|
int main ()
|
|
{
|
|
struct container mine = {1, 0};
|
|
printf ("Mine's scalar is the only thing that is good: %d.\n", mine.scalar); // Set break point at this line.
|
|
return 0;
|
|
}
|
|
|