You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
692 B
23 lines
692 B
// RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm -std=c++11 -o - %s | FileCheck --check-prefix=GNU %s
|
|
|
|
class __declspec(dllexport) QAbstractLayoutStyleInfo {
|
|
public:
|
|
QAbstractLayoutStyleInfo() : m_isWindow(false) {}
|
|
virtual ~QAbstractLayoutStyleInfo() {}
|
|
|
|
virtual bool hasChangedCore() const { return false; }
|
|
|
|
virtual void invalidate() {}
|
|
|
|
virtual double windowMargin(bool orientation) const = 0;
|
|
|
|
bool isWindow() const { return m_isWindow; }
|
|
|
|
protected:
|
|
bool m_isWindow;
|
|
};
|
|
|
|
// GNU-DAG: @_ZTV24QAbstractLayoutStyleInfo = weak_odr dso_local dllexport
|
|
// GNU-DAG: @_ZTS24QAbstractLayoutStyleInfo = linkonce_odr
|
|
// GNU-DAG: @_ZTI24QAbstractLayoutStyleInfo = linkonce_odr
|