Revision cdc4ab5fdc61688193ca0526d08cdfe0e8bbdc11 authored by John McCall on 21 January 2016, 01:09:27 UTC, committed by John McCall on 21 January 2016, 02:37:45 UTC
If we ever add the ability for default arguments to refer to
enclosing variables, we should promote DefaultArgumentInitializer
to be an always-present entity, give it an independent capture
list, and make SILDeclRef refer to it directly.  In fact, we may
want to do that anyway.  Until then, it's a weird special case
in terms of not really being a reference to the function returned
by getAnyFunctionRef().

rdar://24242783
1 parent 9127dfd
Raw File
Makefile
SRCROOT=/Volumes/Data/swift
OBJROOT=/Volumes/Data/swift-DA

HEADERS=${SRCROOT}/tools/swift/include/swift/Basic/ClusteredBitVector.h
SOURCES=${SRCROOT}/tools/swift/lib/Basic/ClusteredBitVector.cpp

generator: generator.cpp ${HEADERS} ${SOURCES}
	xcrun clang++ -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses generator.cpp ${SOURCES} -o generator

test: test.cpp ${HEADERS} ${SOURCES}
	xcrun clang++ -g -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses test.cpp ${SOURCES} -o test
back to top