| 1927 | } |
| 1928 | |
| 1929 | static bool |
| 1930 | buildscript_target_pattern (const target_type&, |
| 1931 | const scope&, |
| 1932 | string& v, |
| 1933 | optional<string>& e, |
| 1934 | const location& l, |
| 1935 | bool r) |
| 1936 | { |
| 1937 | if (r) |
| 1938 | { |
| 1939 | assert (e); |
| 1940 | e = nullopt; |
| 1941 | } |
| 1942 | else |
| 1943 | { |
| 1944 | e = target::split_name (v, l); |
| 1945 | |
| 1946 | if (!e && v != "buildscript") |
| 1947 | { |
| 1948 | e = "buildscript"; |
| 1949 | return true; |
| 1950 | } |
| 1951 | } |
| 1952 | |
| 1953 | return false; |
| 1954 | } |
| 1955 | |
| 1956 | const target_type buildscript::static_type |
| 1957 | { |
nothing calls this directly
no outgoing calls
no test coverage detected