Files
swift-mirror/test/SourceKit/SyntaxMapData/syntaxmap-pound-keyword.swift
Alex Hoppen 749a13a6fe [libSyntax] Remove the C++ SyntaxClassifier
The recommended way forward is to use the SyntaxClassifier on the Swift
side.

By removing the C++ SyntaxClassifier, we can also eliminate the
-force-libsyntax-based-processing option that was used to bootstrap
incremental parsing and would generate the syntax map from a syntax
tree.
2018-07-30 09:26:18 -07:00

19 lines
342 B
Swift

// RUN: %sourcekitd-test -req=syntax-map %s | %sed_clean > %t.response
// RUN: diff -u %s.response %t.response
let fn = #function
let f = #file
let l = #line
let c = #column
if #available(iOS 9.0, *) {}
#if false
#error("Error")
#elseif true
#warning("Warning")
#else
#sourceLocation(file: "here.swift", line:100)
#sourceLocation()
#endif