• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c++11 -o - %s | FileCheck --check-prefix=GNU %s
2 
3 class __declspec(dllexport) QAbstractLayoutStyleInfo {
4 public:
QAbstractLayoutStyleInfo()5   QAbstractLayoutStyleInfo() : m_isWindow(false) {}
~QAbstractLayoutStyleInfo()6   virtual ~QAbstractLayoutStyleInfo() {}
7 
hasChangedCore() const8   virtual bool hasChangedCore() const { return false; }
9 
invalidate()10   virtual void invalidate() {}
11 
12   virtual double windowMargin(bool orientation) const = 0;
13 
isWindow() const14   bool isWindow() const { return m_isWindow; }
15 
16 protected:
17   bool m_isWindow;
18 };
19 
20 // GNU-DAG: @_ZTV24QAbstractLayoutStyleInfo = weak_odr dso_local dllexport
21 // GNU-DAG: @_ZTS24QAbstractLayoutStyleInfo = linkonce_odr
22 // GNU-DAG: @_ZTI24QAbstractLayoutStyleInfo = linkonce_odr
23